2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-19 09:40:21 +00:00

Fix 4363 - discovery broken (#4364)

This commit is contained in:
Matt Ezell
2017-11-22 21:11:23 -05:00
committed by Bin Xu
parent ac30ab6ef7
commit ded43107e2

View File

@@ -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