qubes-linux-template-builder/vm_conf_files/appvm-template.conf
Marek Marczykowski 7054456eb7 Create template with plain root.img without partitions (#118)
Additionaly provide clean-volatile.img
2011-03-24 13:04:43 +01:00

23 lines
492 B
Plaintext

#
# This is a Xen VM config file for AppVMs
#
kernel="%TEMPLATEDIR%/kernels/vmlinuz"
ramdisk="%TEMPLATEDIR%/kernels/initramfs"
extra="ro nomodeset xencons=hvc rd_NO_PLYMOUTH 3"
root="/dev/mapper/dmroot"
memory = %MEM%
name = "%VMNAME%"
disk = [ 'snapshot:%TEMPLATEDIR%/root.img:%TEMPLATEDIR%/root-cow.img,xvda,r',
'file:%VMDIR%/private.img,xvdb,w',
'file:%VMDIR%/volatile.img,xvdc,w',
]
vcpus = %VCPUS%
on_poweroff = 'destroy'
on_reboot = 'destroy'
on_crash = 'destroy'