Add interfaces config

This commit is contained in:
Daniel A. Maierhofer
2018-09-20 11:23:14 +02:00
parent 4b5b01502b
commit f1ef6eec30
3 changed files with 21 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
inventory_hostname: ariane.fet.htu.tuwien.ac.at
inventory_hostname_short: ariane
common_interfaces: interfaces_ariane.j2
common_iptables_v4: "iptables_ariane_v4.j2"
common_iptables_v6: "iptables_ariane_v6.j2"

View File

@@ -0,0 +1,19 @@
# {{ ansible_managed }}
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
allow-hotplug enp8s0
iface enp8s0 inet dhcp
auto br0
iface br0 inet dhcp
bridge_ports enp9s0
bridge_fd 0
bridge_maxwait 0
dns-nameservers 192.168.86.1
#dns-nameservers 192.168.86.1 10.0.3.1
#dns-nameserver 10.0.3.1