1 #from skeleton import skeleton
12 <p>You have the following VMs:</p>
24 #for $machine in $machines:
26 <td><a href="info?machine_id=$machine.machine_id">$machine.name</a></td>
27 <td>${machine.memory}M</td>
28 <td>$machine.owner</td>
30 #set $nic = $machine.nics[0]
32 <td>$nic.mac_addr</td>
33 <td>$nic.hostname</td>
40 <td><a href="vnc?machine_id=$machine.machine_id">Console</a></td>
42 <form action="restart">
43 <input type="hidden" name="machine_id"
44 value="$machine.machine_id"/>
45 <input type="submit" class="button"
54 <p>Create a new VM:</p>
55 <form action="create">
59 <td><input type="text" name="name" value="$user.username"/></td>
64 <td><input type="text" name="memory" value="$maxmem" size=3/> megabytes ($maxmem max)</td>
69 <td><input type="text" name="disk" value="$maxdisk" size=3/> gigabytes ($maxdisk max)</td>
74 <input checked type="radio" name="vmtype" value="hvm">HVM</input>
75 <input type="radio" name="vmtype" value="paravm">ParaVM</input>
79 <td>Initial Install</td>
82 <option selected value="">None</option>
83 #for $cdrom in $cdroms
84 <option value="$cdrom.cdrom_id">
92 <input type="submit" class="button" value="Create it!"/>