From 3d9582728bc7001356e9a97485afced7488eb4f9 Mon Sep 17 00:00:00 2001 From: immarvin Date: Fri, 25 Oct 2013 00:27:46 -0700 Subject: [PATCH] fix defect #3694 [PCM] Showing booting status always for NGP X node status after power reset: update site.status during normal diskful reboot --- xCAT/postscripts/xcatdsklspost | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/xcatdsklspost b/xCAT/postscripts/xcatdsklspost index 75dd32a9b..a26b5660d 100755 --- a/xCAT/postscripts/xcatdsklspost +++ b/xCAT/postscripts/xcatdsklspost @@ -765,7 +765,7 @@ echo "$TMP" >> /$xcatpost/mypostscript TMP=`sed "/# postbootscripts-start-here/,/# postbootscripts-end-here/ s/\(.*\)/run_ps \1/;s/run_ps\s*#/#/;s/run_ps\s*$//" /$xcatpost/mypostscript` echo "$TMP" > /$xcatpost/mypostscript -if [ $NODE_DEPLOYMENT -eq 1 ] || [ "$MODE" = "4" ]; then +if [ $NODE_DEPLOYMENT -eq 1 ] || [ "$MODE" = "4" ] || [ "$MODE" = "6" ]; then #notify the server that we are done with netbooting CNS=`grep NODESTATUS= /$xcatpost/mypostscript |awk -F = '{print $2}'` if [ -z "$CNS" ] || [ "$CNS" != "'0'" -a "$CNS" != "'N'" -a "$CNS" != "'n'" ]; then