Comment 4 for bug 1701417

Revision history for this message
Lee Trager (ltrager) wrote :

After the deployment failed I booted into rescue mode and edited the bond configuration file to not define slaves(they already define who the master is) and used MACADDR instead of HWADDR. cloud-init was rewriting the config so I had to disable that as well and created a user manually. After I did that CentOS 7 booted with bonding working using the correct MAC address.

# diff -u ifcfg-bond0.orig ifcfg-bond0
--- ifcfg-bond0.orig 2017-07-05 21:12:58.485061715 +0000
+++ ifcfg-bond0 2017-07-05 21:59:27.827526638 +0000
@@ -2,13 +2,11 @@
 #
 BONDING_MASTER=yes
 BONDING_OPTS="mode=active-backup xmit_hash_policy=layer2 miimon=100"
-BONDING_SLAVE0=ens10
-BONDING_SLAVE1=ens3
 BOOTPROTO=none
 DEFROUTE=yes
 DEVICE=bond0
 GATEWAY=10.0.0.1
-HWADDR=52:54:00:4b:11:ea
+MACADDR=52:54:00:4b:11:ea
 IPADDR=10.0.0.105
 MTU=1500
 NETMASK=255.255.255.0