From 95b4be91ebb330f7c6a181eca80a423db643b964 Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 29 May 2013 11:29:22 +0000 Subject: [PATCH] defect 3596 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16450 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/updatenode.pm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/updatenode.pm b/xCAT-server/lib/xcat/plugins/updatenode.pm index 74c9decd5..1130a70d8 100644 --- a/xCAT-server/lib/xcat/plugins/updatenode.pm +++ b/xCAT-server/lib/xcat/plugins/updatenode.pm @@ -984,6 +984,12 @@ sub updatenode $::attrres{$attr} = $value; } } + # if not just using the -k flag, then set all nodes to syncing for the + # other updatenode options + if (!($::SECURITY)) { + my $stat="syncing"; + xCAT::TableUtils->setUpdateStatus(\@$nodes, $stat); + } # # handle file synchronization @@ -1124,7 +1130,7 @@ sub updatenode if(@::FAILEDNODES) { - my $stat="out-of-sync"; + my $stat="failed"; xCAT::TableUtils->setUpdateStatus(\@::FAILEDNODES, $stat); }