${name} ${memory_kb} #if $type == 'uml' #set $disk_prefix = 'ubd' #set $disk_bus = 'uml' uml /usr/bin/linux /dev/ubda #else #if $type == 'xen' #set $disk_prefix = 'sd' #set $disk_bus = 'scsi' linux /dev/xvda #else #set $disk_prefix = 'vd' #set $disk_bus = 'virtio' hvm #end if #if $getVar('rescue', False) ${basepath}/kernel.rescue ${basepath}/ramdisk.rescue #else #if $getVar('kernel', None) ${kernel} #if $type == 'xen' ro #else root=/dev/vda console=ttyS0 #end if #if $getVar('ramdisk', None) ${ramdisk} #end if #else #end if #end if #end if ${vcpus} #if $getVar('rescue', False) #else #if $getVar('local', False) #end if #end if #for $nic in $nics #if $getVar('nic.extra_params', False) ${nic.extra_params} #end if #if $getVar('nic.gateway_v6', False) #end if #end for #if $getVar('vncserver_host', False) #end if