From 645c602ce2148864bff2b2996f94f48bf73e0ecb Mon Sep 17 00:00:00 2001 From: immarvin Date: Wed, 19 Jun 2013 07:28:32 +0000 Subject: [PATCH] update the nodelist.status to installing/netbooting via feedback from node during provision git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16683 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- .../share/xcat/netboot/ubuntu/genimage | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/xCAT-server/share/xcat/netboot/ubuntu/genimage b/xCAT-server/share/xcat/netboot/ubuntu/genimage index ab9354ab8..4c434a867 100755 --- a/xCAT-server/share/xcat/netboot/ubuntu/genimage +++ b/xCAT-server/share/xcat/netboot/ubuntu/genimage @@ -1331,10 +1331,44 @@ exit 0 EOF close($inifile); + + #if "nonodestatus" specified,do not update the nodestatus + system("mkdir -p /tmp/xcatinitrd.$$/tmp/"); + open($inifile, ">","/tmp/xcatinitrd.$$/tmp/updateflag"); + + print $inifile <