#end filter
<tr>
<td>Name</td>
- <td><input type="text" name="name" value="$defaults.name"/></td>
+ <td><input type="text" name="name" value="$defaults.name"/>.xvm.mit.edu</td>
</tr>
#filter None
$errorRow('name', $err)
#filter None
$errorRow('vmtype', $err)
#end filter
- <tr>
- <td>Clone image?</td>
-#if $can_clone
- <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>
-#else
- <td><input type="checkbox" name="clone_from" id="clone_from" value="ice3" disabled="disabled"/> Image cloning is currently disabled for maintenance</td>
-#end if
- </tr>
#filter None
$errorRow('autoinstall', $err)
#end filter
- <!--<tr>
+ <tr>
<td>Autoinstall#slurp
#filter None
$helppopup('Autoinstall')#slurp
(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>
<input type="hidden" name="back" value="list"/>
<input type="hidden" name="machine_id"
value="$machine.machine_id"/>
-<input type="submit" class="button" name="action" value="#slurp
+<input type="image" class="power #slurp
+#if $machine.uptime then 'on' else 'off'
+" name="action" value="#slurp
#if $machine.uptime then 'Power off' else 'Power on'
+" src="#slurp
+#if $machine.uptime then 'static/power_button_on.png' else 'static/power_button_off.png'
"/>
</form>
</td>