increase memory for test nodes to 2Gb
[tests.git] / system / template-qemu / qemu-start-node
index 55484f1..7198b03 100755 (executable)
@@ -14,9 +14,9 @@ COMMAND=$(basename $0)
 cd $(dirname $0)
 
 ########## globals
-# 1 gigabyte ram
-RAM=1024
-DISK_SIZE=18G
+# 2 gigabytes ram
+RAM=2048
+DISK_SIZE=100G
 DISK_FORMAT=qcow2
 DISK_IMAGE=hdd-${DISK_FORMAT}-${DISK_SIZE}.img
 
@@ -46,8 +46,10 @@ function is_64bits () {
 
 # the launcher, depending on target arch
 # make sure to check qemu-kill-node for consistency
+
+# use kvm if available
 has_kvm=$(type -p qemu-kvm)
-if [ -n "has_kvm" ] ; then
+if [ -n "$has_kvm" ] ; then
     QEMU="qemu-kvm" ; ARGS=""
 else
     case $TARGET_ARCH in