From 924b061b502ef78d102c34eca5c4939290e36c3d Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Wed, 13 Mar 2019 14:21:27 -0400 Subject: [PATCH] Setup Script - Make sure you have at least 1 mon nic --- so-setup-network.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/so-setup-network.sh b/so-setup-network.sh index 2cc947a88..ec2f97233 100644 --- a/so-setup-network.sh +++ b/so-setup-network.sh @@ -1066,6 +1066,11 @@ whiptail_bond_nics() { BNICS=$(whiptail --title "NIC Setup" --checklist "Please add NICs to the Monitor Interface" 20 78 12 ${FNICS[@]} 3>&1 1>&2 2>&3 ) + while [ -z "$BNICS" ] + do + BNICS=$(whiptail --title "NIC Setup" --checklist "Please add NICs to the Monitor Interface" 20 78 12 ${FNICS[@]} 3>&1 1>&2 2>&3 ) + done + local exitstatus=$? whiptail_check_exitstatus $exitstatus