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

22 lines
395 B
Bash

source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
#allow-hotplug $eth1g
iface $eth1g inet manual
# Fucking ifupdown 0.8.35 uses DUID for DHCP4 O_o
# So we'll use static IPs
auto br0
iface br0 inet static
bridge_ports $eth1g
address $play_host/24
gateway $gateway
dns-nameservers $dns
auto $eth10g
iface $eth10g inet static
address $int_ip/24
mtu 9000