From 809c44e5634116a1681491073fa25bd6c7e99c30 Mon Sep 17 00:00:00 2001 From: Bruno Goncalves Date: Jun 24 2019 14:05:05 +0000 Subject: set default qcow2 VM to use 2G of RAM Booting up a VM with 1G of RAM is not enough to run many tests, it would be better if we could boot by default the VM using 2G as more tests will be able to run without problems by default. --- diff --git a/inventory/standard-inventory-qcow2 b/inventory/standard-inventory-qcow2 index 966c6dc..3b00c0f 100755 --- a/inventory/standard-inventory-qcow2 +++ b/inventory/standard-inventory-qcow2 @@ -290,7 +290,7 @@ def start_qemu(image, cloudinit, portrange=(2222, 5555)): # Log from qemu itself. log_qemu = log_guest.replace(".guest.log", ".qemu.log") # Parameters from FMF: - param_m = str(fmf_get(['qemu', 'm'], "1024")) + param_m = str(fmf_get(['qemu', 'm'], "2048")) param_net_nic_model = str(fmf_get(['qemu', 'net_nic', 'model'], 'virtio')) # QEMU -M param. # Most architectures do not need a -M flag, defaults are fine