]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
cobbler: Use MAC address specified in ansible inventory instead of eth0 372/head
authorDavid Galloway <dgallowa@redhat.com>
Fri, 19 Jan 2018 20:31:03 +0000 (15:31 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Fri, 19 Jan 2018 20:31:03 +0000 (15:31 -0500)
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 <dgallowa@redhat.com>
roles/cobbler/templates/kickstarts/cephlab_rhel.ks

index b99ba4212a56b028cb4cb3ef67ad2072d9bfeed7..482c5a9a1a35bb3e4a7a0c479d9c71947e9065ae 100644 (file)
@@ -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