From 988da99f89fbe09555ffbffb4e392ba8a8af074d Mon Sep 17 00:00:00 2001 From: immarvin Date: Thu, 15 Aug 2013 20:31:29 -0700 Subject: [PATCH] update the nodelist.status to installing/netbooting via feedback from node during provision --- .../share/xcat/netboot/rh/dracut/xcatroot | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/xCAT-server/share/xcat/netboot/rh/dracut/xcatroot b/xCAT-server/share/xcat/netboot/rh/dracut/xcatroot index 45c663ee7..477a7c549 100755 --- a/xCAT-server/share/xcat/netboot/rh/dracut/xcatroot +++ b/xCAT-server/share/xcat/netboot/rh/dracut/xcatroot @@ -5,6 +5,22 @@ XCATMASTER=$XCAT . /lib/dracut-lib.sh rootlimit="$(getarg rootlimit=)" + + +getarg nonodestatus +NODESTATUS=$? + +MASTER=`echo $XCATMASTER |awk -F: '{print $1}'` +XCATIPORT="$(getarg XCATIPORT=)" +if [ $? -ne 0 ]; then +XCATIPORT="3002" +fi + + +if [ $NODESTATUS -ne 0 ];then +/tmp/updateflag $MASTER $XCATIPORT "installstatus netbooting" +fi + if [ ! -z "$imgurl" ]; then if [ xhttp = x${imgurl%%:*} ]; then NFS=0