mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-20 02:00:24 +00:00
Add double quotes to fix syntax errors
This commit is contained in:
@@ -24,8 +24,8 @@ SLI=$(awk 'BEGIN{srand(); printf("%d\n",rand()*10)}')
|
||||
sleep $SLI
|
||||
|
||||
XCATINFOFILE=/opt/xcat/xcatinfo
|
||||
MACADDR=`grep MACADDRESS= /xcatpost/mypostscript.post |awk -F = '{print $2}'|sed s/\'//g`
|
||||
INSTALLNIC=`ip -o link|grep -i $MACADDR|awk '{print $2}'|sed s/://`
|
||||
MACADDR=`grep MACADDRESS= /xcatpost/mypostscript.post | awk -F = '{ print $2 }'| sed "s/\'//g"`
|
||||
INSTALLNIC=`ip -o link | grep -i "$MACADDR" | awk '{ print $2 }' | sed "s/://"`
|
||||
|
||||
|
||||
# the network between the node and MASTER might be not well configured and activated when running the PBS sometimes
|
||||
|
Reference in New Issue
Block a user