2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

Remove trailing spaces in file xCAT-server/share/xcat/install/scripts/post.ubuntu.common

This commit is contained in:
GONG Jie 2017-12-31 23:59:59 +00:00
parent 9dc7cc5f37
commit 9530db1130

View File

@ -12,7 +12,7 @@ echo "post scripts" >/root/post.log
export PRINIC="#TABLEBLANKOKAY:noderes:THISNODE:primarynic#"
if [ "$PRINIC" == "mac" ] || [ -z "$PRINIC" ]
then
export PRINIC='#GETPRINICMAC:THISNODE#'
export PRINIC='#GETPRINICMAC:THISNODE#'
fi
if [ -n "$PRINIC" ] && [[ "$(echo "$PRINIC" | grep -sqE ^[A-Fa-f0-9]+:[A-Fa-f0-9]+:[A-Fa-f0-9]+:[A-Fa-f0-9]+:[A-Fa-f0-9]+:[A-Fa-f0-9]+$ ;echo $?)" == "0" ]]
then