2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 17:46:38 +00:00

Merge pull request #1497 from daniceexi/sles114

issue 1493, we made a change that include the updateflag from /instal…
This commit is contained in:
neo954 2016-07-07 15:51:56 +08:00 committed by GitHub
commit 44ea10e735
2 changed files with 10 additions and 6 deletions

View File

@ -22,19 +22,21 @@ fi
AWK=`find / -name awk | head -1`
#old awk /mounts/instsys/bin/awk -f
if [ ! -e /usr/bin/awk ]; then
ln -s $AWK /usr/bin/awk
fi
XCATDPORT=#TABLE:site:key=xcatiport:value#
XCATDHOST="#XCATVAR:XCATMASTER#"
(cat >/tmp/updateflag.awk << 'EOF'
(cat >/tmp/updateflag << 'EOF'
#INCLUDE:#TABLE:site:key=installdir:value#/postscripts/updateflag.awk#
EOF
) >/tmp/updateflag.awk
) >/tmp/updateflag
chmod 755 /tmp/updateflag.awk
chmod 755 /tmp/updateflag
/tmp/updateflag.awk $XCATDHOST $XCATDPORT
/tmp/updateflag $XCATDHOST $XCATDPORT
export PRINIC=#TABLEBLANKOKAY:noderes:THISNODE:primarynic#
if [ "$PRINIC" == "mac" ]

View File

@ -18,7 +18,9 @@ fi
AWK=`find / -name awk | tail -1`
#old awk /mounts/instsys/bin/awk -f
if [ ! -e /usr/bin/awk ]; then
ln -s $AWK /usr/bin/awk
fi
XCATDPORT=#TABLE:site:key=xcatiport:value#
XCATDHOST="#XCATVAR:XCATMASTER#"