From ba46aac5891304e9a8ba40d365c7d020b43bc5db Mon Sep 17 00:00:00 2001 From: David Galloway Date: Tue, 19 Dec 2017 20:05:47 -0500 Subject: [PATCH] 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 --- roles/cobbler/templates/snippets/cephlab_rc_local | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.47.3