Add interfaces config
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Submodule roles/common updated: 827ca87a39...32cb76a1d5
19
templates/interfaces_ariane.j2
Normal file
19
templates/interfaces_ariane.j2
Normal 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
|
||||
Reference in New Issue
Block a user