mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 17:46:38 +00:00
fix issue [fvt]2.13 mypostscript syntax error in subroutine run_ps on sles11.4 #2183
This commit is contained in:
parent
30488810f3
commit
ba9ddb06da
@ -827,7 +827,7 @@ if [ $NODE_DEPLOYMENT -eq 1 ] || [ "$MODE" = "4" ] || [ "$MODE" = "6" ]; then
|
||||
else
|
||||
TMP=`sed "/# postscripts-start-here/,/# postscripts-end-here/ s/\(.*\)/run_ps postscript \1/;s/run_ps postscript\s*#/#/;s/run_ps postscript\s*$//" /$xcatpost/mypostscript`
|
||||
fi
|
||||
echo "
|
||||
echo "#!/bin/bash
|
||||
. /xcatpost/xcatlib.sh
|
||||
|
||||
# global value to store the running status of the postbootscripts,the value is non-zero if one postbootscript failed
|
||||
|
Loading…
x
Reference in New Issue
Block a user