]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
cobbler: Don't break after first NIC is configured 364/head
authorDavid Galloway <dgallowa@redhat.com>
Wed, 20 Dec 2017 01:05:47 +0000 (20:05 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Wed, 20 Dec 2017 01:07:07 +0000 (20:07 -0500)
In case the system has multiple NICs cabled (like Octo's bruuni and
pluto)

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/cobbler/templates/snippets/cephlab_rc_local

index 4bf384f354e9cd0f9b2c5ebb1f7e0ca90a8a67cf..508660d0366ac1afc09fb7eaa85e49d61504457f 100644 (file)
@@ -39,8 +39,6 @@ if [ ! -f /.cephlab_net_configured ]; then
       ifup $nic
       # Write our lockfile so this only gets run on firstboot
       touch /.cephlab_net_configured
-      # Quit loop after first NIC is configured
-      break
     else
       # Take the NIC back down if it's not connected
       ifconfig $nic down