debian-forge-composer/test/cloud-init/network-config
Major Hayden 41e255bc8c Make qemu integration tests more reliable
Set a static network configuration using cloud-init so that we don't
have to wait a long time for DHCP to work. Also, since we know the IP
and it is set earlier, this reduces the delay in testing on systems
without nested virt (like AWS).

Fixes #844.

Signed-off-by: Major Hayden <major@redhat.com>
2020-07-13 11:19:07 -05:00

14 lines
No EOL
264 B
Text

network:
version: 2
renderer: NetworkManager
ethernets:
eth0:
dhcpv4: false
dhcpv6: false
addresses:
- 192.168.122.50/24
gateway4: 192.168.122.1
nameservers:
addresses:
- 1.1.1.1
- 8.8.8.8