From 7aebf515f74fc43218b91d0dea935c6b31d16f13 Mon Sep 17 00:00:00 2001 From: David Galloway Date: Fri, 19 Jan 2018 15:31:03 -0500 Subject: [PATCH] cobbler: Use MAC address specified in ansible inventory instead of eth0 I concede. Name it whatever you want, RHEL. This will allow the OS to use the "predictable naming" during anaconda and after firstboot preventing NIC names from switching like we're seeing in http://tracker.ceph.com/issues/22732 and http://tracker.ceph.com/issues/22643 Signed-off-by: David Galloway --- roles/cobbler/templates/kickstarts/cephlab_rhel.ks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/cobbler/templates/kickstarts/cephlab_rhel.ks b/roles/cobbler/templates/kickstarts/cephlab_rhel.ks index b99ba421..482c5a9a 100644 --- a/roles/cobbler/templates/kickstarts/cephlab_rhel.ks +++ b/roles/cobbler/templates/kickstarts/cephlab_rhel.ks @@ -22,7 +22,7 @@ url --url=$tree # If any cobbler repo definitions were referenced in the kickstart profile, include them here. $yum_repo_stanza # Network information -network --bootproto=dhcp --device=eth0 --onboot=on +network --bootproto=dhcp --device=$mac_address_eth0 --onboot=on # Reboot after installation reboot -- 2.47.3