</tr>
<tr>
<td>Boot CD</td>
- <td><input type="radio" name="cd_or_auto" id="cd_or_auto_cd" checked
+ <td><input type="radio" name="cd_or_auto" id="cd_or_auto_cd" checked="checked"
onchange="\$('autoinstalllist').value = ''; \$('vmtype-linux-hvm').checked = true">
#filter None
$cdromList($defaults.cdrom, "$('cd_or_auto_cd').checked = true;$('autoinstalllist').value = '';$('vmtype-linux-hvm').checked = true")
#if $machine.uptime then 'on' else 'off'
" name="action" value="#slurp
#if $machine.uptime then 'Power off' else 'Power on'
-"/>
+"#slurp
+#if $machine.uptime
+ onclick="return confirm('Are you sure you want to power off this VM?');"
+#end if
+/>
</form>
</td>
<td><a href="info?machine_id=$machine.machine_id">$machine.name</a></td>