X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/cd40d6f384656638504b9ec67b73e446401033a8..27dcf25cbe250f43ea32fc9bc7a4ec6691db66e9:/code/templates/info.tmpl?ds=sidebyside diff --git a/code/templates/info.tmpl b/code/templates/info.tmpl index 64b9445..d872fce 100644 --- a/code/templates/info.tmpl +++ b/code/templates/info.tmpl @@ -15,41 +15,38 @@ Info on $machine.name #end def #def commands() +#if $on + #if not $machine.type.hvm + Console access: type + ssh $machine.name@$config.console.hostname + on Athena. (more info) + #elif $has_vnc + Get Console + #else + VNC console not enabled; still booting? + #end if +#end if
- - - - +
#if $on -
- - + + + #else - + #end if - - - - - - -
- #if $on - #if $has_vnc - Get Console - #else - VNC console not enabled; still booting? - #end if - #else - - #end if -
Boot CD:#slurp + +
+ Boot CD: #filter None $cdromList()#slurp #end filter -
+ +
+ +
#end def @@ -65,6 +62,7 @@ $cdromList()#slurp
+ +: #filter None $errorRow('administrator', $err) #end filter @@ -86,7 +84,7 @@ $errorRow('administrator', $err) $errorRow('contact', $err) #end filter #if not $on - + #filter None $errorRow('name', $err) #end filter @@ -106,7 +104,7 @@ $vmTypeList($defaults.type)#slurp #filter None $errorRow('memory', $err) #end filter - + #filter None $errorRow('disk', $err) #end filter
Description:
Owner#slurp #filter None $helppopup("Owner")#slurp @@ -77,7 +75,7 @@ $errorRow('owner', $err) #filter None $helppopup("Administrator")#slurp #end filter -:
Machine Name:
Machine Name:.${config.dns.domains[0]}
Disk:GiB (max $max_disk)WARNING: Modifying disk size may corrupt your data.
Disk:GiB (max $max_disk)WARNING: Modifying disk size may corrupt your data.