From 3a79372c4ee56c93fe9bd4e6550a8d65cf9adaeb Mon Sep 17 00:00:00 2001 From: linggao Date: Fri, 23 Jul 2010 18:46:17 +0000 Subject: [PATCH] updatenode supports upgrading packages from os distro git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6844 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/updatenode.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/updatenode.pm b/xCAT-server/lib/xcat/plugins/updatenode.pm index f6b49ace7..a2376b2bc 100644 --- a/xCAT-server/lib/xcat/plugins/updatenode.pm +++ b/xCAT-server/lib/xcat/plugins/updatenode.pm @@ -388,7 +388,7 @@ sub preprocess_updatenode # figure out the diskless nodes list and non-diskless nodes foreach my $type (keys %insttype_node) { - if ($type eq "netboot" || $type eq "diskless") { + if ($type eq "netboot" || $type eq "statelite" || $type eq "diskless") { push @dsklsnodes, @{$insttype_node{$type}}; } else { push @notdsklsnodes, @{$insttype_node{$type}}; @@ -836,12 +836,12 @@ sub updatenode my $cmd; if ($::SETSERVER) { $cmd = - "XCATBYPASS=Y $::XCATROOT/bin/xdsh $nodestring -s -e $installdir/postscripts/xcatdsklspost 2 -M $snkey otherpkgs 2>&1"; + "XCATBYPASS=Y $::XCATROOT/bin/xdsh $nodestring -s -e $installdir/postscripts/xcatdsklspost 2 -M $snkey ospkgs,otherpkgs 2>&1"; } else { $cmd = - "XCATBYPASS=Y $::XCATROOT/bin/xdsh $nodestring -s -e $installdir/postscripts/xcatdsklspost 2 -m $snkey otherpkgs 2>&1"; + "XCATBYPASS=Y $::XCATROOT/bin/xdsh $nodestring -s -e $installdir/postscripts/xcatdsklspost 2 -m $snkey ospkgs,otherpkgs 2>&1"; } if ($::VERBOSE)