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>
14 lines
No EOL
264 B
Text
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 |