diff --git a/xCAT-server/share/xcat/install/scripts/post.rh b/xCAT-server/share/xcat/install/scripts/post.rh index 99ab1c1b4..45df143cd 100644 --- a/xCAT-server/share/xcat/install/scripts/post.rh +++ b/xCAT-server/share/xcat/install/scripts/post.rh @@ -3,9 +3,9 @@ # echo "post scripts" >/root/post.log export PRINIC=#TABLEBLANKOKAY:noderes:THISNODE:primarynic# -if [ "$PRINIC" == "mac"] +if [ "$PRINIC" == "mac" ] then - export PRINIC="#TABLE:mac:THISNODE:mac#" + export PRINIC='#TABLE:mac:THISNODE:mac#' fi if [ -z "$PRINIC" ] then diff --git a/xCAT-server/share/xcat/install/scripts/post.rh.iscsi b/xCAT-server/share/xcat/install/scripts/post.rh.iscsi index 30b628912..21a8fe253 100644 --- a/xCAT-server/share/xcat/install/scripts/post.rh.iscsi +++ b/xCAT-server/share/xcat/install/scripts/post.rh.iscsi @@ -3,9 +3,9 @@ # echo "post scripts" >/root/post.log export PRINIC=#TABLEBLANKOKAY:noderes:THISNODE:primarynic# -if [ "$PRINIC" == "mac"] +if [ "$PRINIC" == "mac" ] then - export PRINIC="#TABLE:mac:THISNODE:mac#" + export PRINIC='#TABLE:mac:THISNODE:mac#' fi if [ -z "$PRINIC" ] then diff --git a/xCAT-server/share/xcat/install/scripts/post.sles b/xCAT-server/share/xcat/install/scripts/post.sles index 8ccf6c081..fd376e163 100644 --- a/xCAT-server/share/xcat/install/scripts/post.sles +++ b/xCAT-server/share/xcat/install/scripts/post.sles @@ -17,9 +17,9 @@ STARTMODE=onboot EOF export PRINIC=#TABLEBLANKOKAY:noderes:THISNODE:primarynic# -if [ "$PRINIC" == "mac"] +if [ "$PRINIC" == "mac" ] then - export PRINIC="#TABLE:mac:THISNODE:mac#" + export PRINIC='#TABLE:mac:THISNODE:mac#' fi if [ -z "$PRINIC" ] then diff --git a/xCAT-server/share/xcat/install/scripts/post.sles11 b/xCAT-server/share/xcat/install/scripts/post.sles11 index 558afcf19..c665d0ed9 100644 --- a/xCAT-server/share/xcat/install/scripts/post.sles11 +++ b/xCAT-server/share/xcat/install/scripts/post.sles11 @@ -17,9 +17,9 @@ STARTMODE=onboot EOF export PRINIC=#TABLEBLANKOKAY:noderes:THISNODE:primarynic# -if [ "$PRINIC" == "mac"] +if [ "$PRINIC" == "mac" ] then - export PRINIC="#TABLE:mac:THISNODE:mac#" + export PRINIC='#TABLE:mac:THISNODE:mac#' fi if [ -z "$PRINIC" ] then