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:
parent
9dc7cc5f37
commit
9530db1130
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user