From 946012e091c1555f0eb905f2b4585d19efb1b683 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Wed, 16 Mar 2011 20:49:57 -0400 Subject: [PATCH] Config file template for standalone VMs (#98) --- vm_conf_files/standalone-template.conf | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 vm_conf_files/standalone-template.conf diff --git a/vm_conf_files/standalone-template.conf b/vm_conf_files/standalone-template.conf new file mode 100644 index 0000000..024f476 --- /dev/null +++ b/vm_conf_files/standalone-template.conf @@ -0,0 +1,21 @@ +# +# 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 = [ 'file:%VMDIR%/root.img,xvda,w', + 'file:%VMDIR%/private.img,xvdb,w' + ] + +vcpus = %VCPUS% + +on_poweroff = 'destroy' +on_reboot = 'destroy' +on_crash = 'destroy'