Playbooks to a new Lilik
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

21 lines
664 B

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto br0
iface br0 inet manual
bridge_ports {{ ansible_default_ipv4.alias }}.{{ virtual_machine_vlan }}
bridge_fd 1
auto {{ ansible_default_ipv4.alias }}
iface {{ ansible_default_ipv4.alias }} inet static
address {{ ansible_default_ipv4.address }}
gateway {{ hostvars | ip_from_inventory('management_gateway') }}
netmask 255.255.255.0
vlan-raw-device {{ ansible_default_ipv4.alias }}