diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-04-18 09:10:01 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-04-18 09:10:01 +0200 |
commit | e67312b02d242a991c29b8cdf6b566200d89d0c9 (patch) | |
tree | 8a3d3bd879bf8ff5a827f775ae73512ee215f1ac /scripts/check-qemu-install | |
parent | 50c10220997f6b46fc68e1dbd766b26397817a76 (diff) | |
download | vyos-build-e67312b02d242a991c29b8cdf6b566200d89d0c9.tar.gz vyos-build-e67312b02d242a991c29b8cdf6b566200d89d0c9.zip |
Testsuite: enable DHCP on eth0 - future smoketests could now verify DHCP
Diffstat (limited to 'scripts/check-qemu-install')
-rwxr-xr-x | scripts/check-qemu-install | 2 |
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="" \ |