restore autoinstaller in web interface
authorGreg Price <price@mit.edu>
Tue, 22 Apr 2008 06:46:25 +0000 (02:46 -0400)
committerGreg Price <price@mit.edu>
Tue, 22 Apr 2008 06:46:25 +0000 (02:46 -0400)
svn path=/trunk/packages/sipb-xen-www/; revision=448

code/templates/list.tmpl

index 7d484f3..2475542 100644 (file)
@@ -58,7 +58,16 @@ $vmTypeList($defaults.type)
 #filter None
 $errorRow('vmtype', $err)
 #end filter
-       <tr>
+        <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>
+#filter None
+$errorRow('autoinstall', $err)
+#end filter
+       <!--<tr>
          <td>Autoinstall#slurp
 #filter None
 $helppopup('autoinstall')#slurp
@@ -70,7 +79,7 @@ $autoList($defaults.cdrom, "document.getElementById('cd_or_auto_auto').checked =
              (experimental; 1-2 minutes, and you have a machine; root pw is 'password'.)
 #end filter
          </input>
-       </tr>
+       </tr>-->
        <tr>
          <td>Boot CD</td>
          <td><input type="radio" name="cd_or_auto" id="cd_or_auto_cd" checked>