From 58b37a35b9ee9803f73fc43d36d33ed8478143a2 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 5 Jan 2016 14:17:49 +0000 Subject: [PATCH] ram value --- src/freedombone-image | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/freedombone-image b/src/freedombone-image index 3dbfcac4..6c2ae139 100755 --- a/src/freedombone-image +++ b/src/freedombone-image @@ -33,6 +33,9 @@ PROJECT_NAME='freedombone' export TEXTDOMAIN=${PROJECT_NAME}-image export TEXTDOMAINDIR="/usr/share/locale" +# recommended RAM for virtual machines +VM_MEMORY='1G' + VARIANT='full' # fixed username and password when the --generic option is used @@ -325,9 +328,9 @@ else " else if [[ $IMAGE_TYPE != "qemu-x86_64"* && $IMAGE_TYPE != "qemu-amd64"* ]]; then - echo "qemu-system-i386 $(ls ${PROJECT_NAME}*.qcow2)" + echo "qemu-system-i386 -m ${VM_MEMORY} $(ls ${PROJECT_NAME}*.qcow2)" else - echo "qemu-system-x86_64 $(ls ${PROJECT_NAME}*.qcow2)" + echo "qemu-system-x86_64 -m ${VM_MEMORY} $(ls ${PROJECT_NAME}*.qcow2)" fi echo $" Username: $USERNAME