From 9530db1130482e8d7e5d66af2fbc1091b5a3775b Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Sun, 31 Dec 2017 23:59:59 +0000 Subject: [PATCH] Remove trailing spaces in file xCAT-server/share/xcat/install/scripts/post.ubuntu.common --- xCAT-server/share/xcat/install/scripts/post.ubuntu.common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/install/scripts/post.ubuntu.common b/xCAT-server/share/xcat/install/scripts/post.ubuntu.common index cd592757e..77db7d6e4 100755 --- a/xCAT-server/share/xcat/install/scripts/post.ubuntu.common +++ b/xCAT-server/share/xcat/install/scripts/post.ubuntu.common @@ -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