summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-09-25 21:13:58 +0200
committerChristian Poessinger <christian@poessinger.com>2020-09-25 21:13:58 +0200
commit440cb4befa1ed9b354a3483deeaac948db873fbb (patch)
tree539a3057c053308f4413b1708c7b7c6486006bee /scripts
parent2a5f6b12fbab67c42d957867faa05a6e9417ed82 (diff)
downloadvyos-build-440cb4befa1ed9b354a3483deeaac948db873fbb.tar.gz
vyos-build-440cb4befa1ed9b354a3483deeaac948db873fbb.zip
Testsuite: increase to 2G ram
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check-qemu-install16
1 files changed, 8 insertions, 8 deletions
diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install
index 3d182dbe..3f68648b 100755
--- a/scripts/check-qemu-install
+++ b/scripts/check-qemu-install
@@ -108,20 +108,20 @@ def get_qemu_cmd(name, enable_kvm, disk_img, iso_img=None):
if iso_img:
cdrom = "-boot d -cdrom {}".format(iso_img)
- cmd = 'qemu-system-x86_64 \
- -name "{NAME}" \
- -m 1G \
+ cmd = f'qemu-system-x86_64 \
+ -name "{name}" \
+ -smp 2 \
+ -m 2G \
-nic user,model=virtio,mac=52:54:99:12:34:56 \
-nic user,model=virtio,mac=52:54:99:12:34:57 \
-nic user,model=virtio,mac=52:54:99:12:34:58 \
-nic user,model=virtio,mac=52:54:99:12:34:59 \
-machine accel=kvm \
- {CPU} \
- -smp 2 \
-nographic \
- {CD} \
- {KVM} \
- -drive format=raw,file={DISK}'.format(NAME=name, CD=cdrom, DISK=disk_img, KVM=kvm, CPU=cpu)
+ {cpu} \
+ {cdrom} \
+ {kvm} \
+ -drive format=raw,file={disk_img}'
return cmd