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.
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 OPTS="mode= active- backup xmit_hash_ policy= layer2 miimon=100" SLAVE0= ens10 SLAVE1= ens3 52:54:00: 4b:11:ea 52:54:00: 4b:11:ea 255.255. 255.0
--- 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_
-BONDING_
-BONDING_
BOOTPROTO=none
DEFROUTE=yes
DEVICE=bond0
GATEWAY=10.0.0.1
-HWADDR=
+MACADDR=
IPADDR=10.0.0.105
MTU=1500
NETMASK=