From c6608120cbe32ace3014efa54051fece78e7048a Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 13 Aug 2013 13:28:34 -0400 Subject: [PATCH] Try to bring up extra interfaces for discovery --- xCAT-genesis-scripts/bin/dodiscovery | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xCAT-genesis-scripts/bin/dodiscovery b/xCAT-genesis-scripts/bin/dodiscovery index 2dd908c89..7085bacdb 100755 --- a/xCAT-genesis-scripts/bin/dodiscovery +++ b/xCAT-genesis-scripts/bin/dodiscovery @@ -5,6 +5,9 @@ PUBKEY=`echo $PUBKEY|sed -e 's/ //g'` export PUBKEY echo "Beginning node discovery process" +for nic in `ip link|grep mtu|grep -v LOOPBACK|grep -v usb|grep -v ,LOWER_UP|awk -F: '{print $2}'`; do + ip link set $nic up +done waitforlink=100 while [ ! -z "$NICSTOBRINGUP" -a $waitforlink -gt 0 ]; do NICSTOBRINGUP=`ip link|grep mtu|grep -v LOOPBACK|grep -v usb|grep -v ,LOWER_UP|awk -F: '{print $2}'`