summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-04-11 10:02:29 +0200
committerChristian Poessinger <christian@poessinger.com>2021-04-11 10:02:29 +0200
commitb20ea2e7b534afbf1c1fbbbef6d60e1b13fecade (patch)
treec7778e65142984b500e79cc04352d409bf281d26
parent430f2a8993640125729a4d45ac3c66f1077c600f (diff)
downloadvyos-build-b20ea2e7b534afbf1c1fbbbef6d60e1b13fecade.tar.gz
vyos-build-b20ea2e7b534afbf1c1fbbbef6d60e1b13fecade.zip
Testsuite: QEMU: add in 3 more NICs as required by the L3VPN EVPN test
-rwxr-xr-xscripts/check-qemu-install3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install
index 90cc6017..1daaa6be 100755
--- a/scripts/check-qemu-install
+++ b/scripts/check-qemu-install
@@ -132,6 +132,9 @@ def get_qemu_cmd(name, enable_kvm, disk_img, iso_img=None):
-netdev user,id=n2 -device virtio-net-pci,netdev=n2,mac={macbase}:02 \
-netdev user,id=n3 -device virtio-net-pci,netdev=n3,mac={macbase}:03 \
-netdev user,id=n4 -device virtio-net-pci,netdev=n4,mac={macbase}:04 \
+ -netdev user,id=n5 -device virtio-net-pci,netdev=n5,mac={macbase}:05 \
+ -netdev user,id=n6 -device virtio-net-pci,netdev=n6,mac={macbase}:06 \
+ -netdev user,id=n7 -device virtio-net-pci,netdev=n7,mac={macbase}:07 \
-machine accel=kvm \
-nographic {cpu} {cdrom} {kvm} \
-drive format=raw,file={disk_img}'