2010-04-05 22:25:37 +00:00
|
|
|
#
|
|
|
|
# This is a Xen VM config file for AppVMs
|
|
|
|
#
|
|
|
|
|
|
|
|
kernel="%TEMPLATEDIR%/kernels/vmlinuz"
|
|
|
|
ramdisk="%TEMPLATEDIR%/kernels/initramfs"
|
2010-07-21 15:01:34 +00:00
|
|
|
extra="ro nomodeset xencons=hvc rd_NO_PLYMOUTH 3"
|
2010-04-05 22:25:37 +00:00
|
|
|
root="/dev/mapper/dmroot"
|
|
|
|
|
|
|
|
memory = 400
|
|
|
|
name = "%VMNAME%"
|
|
|
|
|
|
|
|
disk = [ 'file:%TEMPLATEDIR%/root.img,xvda,r',
|
|
|
|
'file:%VMDIR%/private.img,xvdb,w',
|
|
|
|
'file:%VMDIR%/root-cow.img,xvdc,w',
|
|
|
|
'file:%VMDIR%/swap-cow.img,xvdd,w'
|
|
|
|
]
|
|
|
|
|
|
|
|
vcpus = 1
|
|
|
|
|
|
|
|
on_poweroff = 'destroy'
|
|
|
|
on_reboot = 'destroy'
|
|
|
|
on_crash = 'destroy'
|