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"
|
|
|
|
|
2011-03-16 17:42:01 +00:00
|
|
|
memory = %MEM%
|
2010-04-05 22:25:37 +00:00
|
|
|
name = "%VMNAME%"
|
|
|
|
|
2011-02-26 22:38:25 +00:00
|
|
|
disk = [ 'snapshot:%TEMPLATEDIR%/root.img:%TEMPLATEDIR%/root-cow.img,xvda,r',
|
2010-04-05 22:25:37 +00:00
|
|
|
'file:%VMDIR%/private.img,xvdb,w',
|
2011-03-19 02:30:23 +00:00
|
|
|
'file:%VMDIR%/volatile.img,xvdc,w',
|
2010-04-05 22:25:37 +00:00
|
|
|
]
|
|
|
|
|
2011-03-16 17:42:01 +00:00
|
|
|
vcpus = %VCPUS%
|
2010-04-05 22:25:37 +00:00
|
|
|
|
|
|
|
on_poweroff = 'destroy'
|
|
|
|
on_reboot = 'destroy'
|
|
|
|
on_crash = 'destroy'
|