From ded43107e2eaa85ff111c5237db2084418ee3c15 Mon Sep 17 00:00:00 2001 From: Matt Ezell Date: Wed, 22 Nov 2017 21:11:23 -0500 Subject: [PATCH] Fix 4363 - discovery broken (#4364) --- xCAT-genesis-scripts/bin/dodiscovery | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-genesis-scripts/bin/dodiscovery b/xCAT-genesis-scripts/bin/dodiscovery index 8d81a5f4c..b87f38fea 100755 --- a/xCAT-genesis-scripts/bin/dodiscovery +++ b/xCAT-genesis-scripts/bin/dodiscovery @@ -50,7 +50,7 @@ if [ $timewaiting != 700 -a $timewaiting -gt 450 ]; then logger -s -t $log_label -p local4.warning "Obtained an IP address $NICSGETTINGADDR but it took $timewaiting cycles, you may want to check the spanning tree configuration in the switch." fi logger -s -t $log_label -p local4.info "Network configuration complete, commencing transmit of discovery packets" -read XCATMASTER XCATPORT < <(grep xcatd= /proc/cmdline| sed 's/.* xcatd=\([^ ]*\) .*/\1/' |tr ':' ' ') +read XCATMASTER XCATPORT < <(grep xcatd= /proc/cmdline| sed 's/.*xcatd=\([^ ]*\).*/\1/' |tr ':' ' ') if [[ -z $XCATPORT ]]; then XCATPORT=3001 fi