ceph-opennebula-playbooks/etc/network/interfaces.env

19 lines
342 B
Bash

source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
#allow-hotplug $eth1g
iface $eth1g inet manual
auto br0
iface br0 inet dhcp
bridge_ports $eth1g
# Fucking ifupdown 0.8.35 uses DUID for DHCP4 O_o
post-up ip addr add $play_host dev br0
auto $eth10g
iface $eth10g inet static
address $int_ip/24
mtu 9000