default to no boot CD when cloning
[invirt/packages/invirt-web.git] / code / templates / list.tmpl
index 6e06c53..249541e 100644 (file)
@@ -52,6 +52,13 @@ $errorRow('vmtype', $err)
        </tr>
 $errorRow('cdrom', $err)
        <tr>
+         <td>Clone image?</td>
+         <td><input type="checkbox" name="clone_from" id="clone_from" value="ice3" onchange="onclone(event)"/>
+             (experimental; 1-2 minutes, and you have an etch machine; root pw is 'password'.)
+             <script type='text/javascript'>function onclone(e){ document.getElementById('cdromlist').value = ''; }</script></td>
+       </tr>
+$errorRow('cdrom', $err)
+       <tr>
          <td>Owner</td>
          <td><input type="text" name="owner" value="$defaults.owner"/></td>
        </tr>