Comment 7 for bug 1516891

Revision history for this message
Andrew McDermott (frobware) wrote :

juju renders /etc/network/interfaces incorrectly for the bond.

A correct rendering of /e/n/i should be like the following.

Note: currently updating the juju script to make it bond aware.

ubuntu@node2:~$ cat /etc/network/interfaces
auto eth0
iface eth0 inet manual
    bond-lacp_rate slow
    bond-xmit_hash_policy layer2
    bond-miimon 100
    bond-master bond0
    mtu 1500
    bond-mode active-backup

auto eth1
iface eth1 inet manual
    bond-lacp_rate slow
    bond-xmit_hash_policy layer2
    bond-miimon 100
    bond-master bond0
    mtu 1500
    bond-mode active-backup

iface bond0 inet manual

auto bond0
iface bond0 inet manual
    bond-lacp_rate slow
    bond-xmit_hash_policy layer2
    bond-miimon 100
    mtu 1500
    bond-mode active-backup
    hwaddress 52:54:00:1c:f1:5b
    bond-slaves none

auto br0
iface br0 inet dhcp
 bridge_ports bond0

dns-nameservers 10.17.20.200
dns-search maas19