1 # This file describes the network interfaces available on your system
2 # and how to activate them. For more information, see interfaces(5).
4 source /etc/network/interfaces.d/*
6 # The loopback network interface
10 # The primary network interface
11 auto {{ vm_network.primary.interface }}
12 iface {{ vm_network.primary.interface }} inet static
13 address {{ vm_network.primary.ip }}
14 netmask {{ vm_network.primary.mask }}
15 gateway {{ vm_network.primary.gateway }}
16 pre-up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra
17 pre-up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/autoconf