summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-18 09:10:01 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-18 09:10:01 +0200
commite67312b02d242a991c29b8cdf6b566200d89d0c9 (patch)
tree8a3d3bd879bf8ff5a827f775ae73512ee215f1ac /scripts
parent50c10220997f6b46fc68e1dbd766b26397817a76 (diff)
downloadvyos-build-e67312b02d242a991c29b8cdf6b566200d89d0c9.tar.gz
vyos-build-e67312b02d242a991c29b8cdf6b566200d89d0c9.zip
Testsuite: enable DHCP on eth0 - future smoketests could now verify DHCP
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check-qemu-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install
index 18907cb9..8e561580 100755
--- a/scripts/check-qemu-install
+++ b/scripts/check-qemu-install
@@ -151,7 +151,7 @@ def get_qemu_cmd(name, enable_kvm, enable_uefi, disk_img, raid=None, iso_img=Non
{cpu} \
{cdrom} \
{kvm} \
- -netdev user,id=n0 -device virtio-net-pci,netdev=n0,mac={macbase}:00,romfile="" \
+ -netdev user,id=n0,net=192.0.2.0/24,dhcpstart=192.0.2.101,dns=192.0.2.10 -device virtio-net-pci,netdev=n0,mac={macbase}:00,romfile="" \
-netdev user,id=n1 -device virtio-net-pci,netdev=n1,mac={macbase}:01,romfile="" \
-netdev user,id=n2 -device virtio-net-pci,netdev=n2,mac={macbase}:02,romfile="" \
-netdev user,id=n3 -device virtio-net-pci,netdev=n3,mac={macbase}:03,romfile="" \