From: David Galloway Date: Wed, 20 Dec 2017 01:05:47 +0000 (-0500) Subject: cobbler: Don't break after first NIC is configured X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F364%2Fhead;p=ceph-cm-ansible.git cobbler: Don't break after first NIC is configured In case the system has multiple NICs cabled (like Octo's bruuni and pluto) Signed-off-by: David Galloway --- diff --git a/roles/cobbler/templates/snippets/cephlab_rc_local b/roles/cobbler/templates/snippets/cephlab_rc_local index 4bf384f3..508660d0 100644 --- a/roles/cobbler/templates/snippets/cephlab_rc_local +++ b/roles/cobbler/templates/snippets/cephlab_rc_local @@ -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