glean/glean/tests/fixtures/test/rax.debian.network.out
CullenTaylor 97f38cec88 workaround for ubuntu 14.04 bonding issue
The bond0 /e/n/i.d/bond0.cfg needs to be written a little differently to
account for some quirks in Ubuntu 14.04.

This patch will change the following:

1) "pre-up route add" becomes just "up route add"
2) "post-down route del" becomes just "down route del"
3) "bond-slaves eth0 eth2" becomes just "bond slaves none"
4) "post-up ifenslave bond0 eth0 eth2" added to end of config
5) "pre-down ifenslave -d bond0 eth0 eth2" added to end of config

Change-Id: I8bde314c27235546207317f6b9acfa01272dd1e5
2016-07-07 16:16:12 -05:00

26 lines
854 B
Plaintext

### Write /etc/network/interfaces
auto lo
iface lo inet loopback
source /etc/network/interfaces.d/*.cfg
### Write /etc/network/interfaces.d/eth0.cfg
auto eth0
iface eth0 inet static
address 23.253.229.154
netmask 255.255.255.0
gateway 23.253.229.1
### Write /etc/network/interfaces.d/eth1.cfg
auto eth1
iface eth1 inet static
address 10.208.169.118
netmask 255.255.224.0
up route add -net 10.176.0.0 netmask 255.240.0.0 gw 10.208.160.1 || true
down route del -net 10.176.0.0 netmask 255.240.0.0 gw 10.208.160.1 || true
up route add -net 10.208.0.0 netmask 255.240.0.0 gw 10.208.160.1 || true
down route del -net 10.208.0.0 netmask 255.240.0.0 gw 10.208.160.1 || true
### Write /etc/network/interfaces.d/eth3.cfg
auto eth3
iface eth3 inet dhcp
### Write /etc/resolv.conf
nameserver 72.3.128.241
nameserver 72.3.128.240