diff --git a/vm_conf_files/appvm-template.conf b/vm_conf_files/appvm-template.conf index 89fad0c..efccaa7 100644 --- a/vm_conf_files/appvm-template.conf +++ b/vm_conf_files/appvm-template.conf @@ -7,7 +7,7 @@ ramdisk="%TEMPLATEDIR%/kernels/initramfs" extra="ro nomodeset xencons=hvc rd_NO_PLYMOUTH 3" root="/dev/mapper/dmroot" -memory = 400 +memory = %MEM% name = "%VMNAME%" disk = [ 'snapshot:%TEMPLATEDIR%/root.img:%TEMPLATEDIR%/root-cow.img,xvda,r', @@ -16,7 +16,7 @@ disk = [ 'snapshot:%TEMPLATEDIR%/root.img:%TEMPLATEDIR%/root-cow.img,xvda,r', 'file:%VMDIR%/swap-cow.img,xvdd,w' ] -vcpus = 1 +vcpus = %VCPUS% on_poweroff = 'destroy' on_reboot = 'destroy' diff --git a/vm_conf_files/netvm-template.conf b/vm_conf_files/netvm-template.conf index 9728ae0..266c861 100644 --- a/vm_conf_files/netvm-template.conf +++ b/vm_conf_files/netvm-template.conf @@ -7,7 +7,7 @@ ramdisk="%TEMPLATEDIR%/kernels/initramfs" extra="ro nomodeset xencons=hvc swiotlb=force pci=nomsird_NO_PLYMOUTH 3" root="/dev/mapper/dmroot" -memory = 400 +memory = %MEM% name = "%VMNAME%" pci = [ %PCIDEVS% ] @@ -18,7 +18,7 @@ disk = [ 'snapshot:%TEMPLATEDIR%/root.img:%TEMPLATEDIR%/root-cow.img,xvda,r', 'file:%VMDIR%/swap-cow.img,xvdd,w' ] -vcpus = 1 +vcpus = %VCPUS% on_poweroff = 'destroy' on_reboot = 'destroy'