From e8e658b685f6c9cb34139b0cb6ecff237d05cfe6 Mon Sep 17 00:00:00 2001 From: nott Date: Tue, 2 Jun 2009 16:41:17 +0000 Subject: [PATCH] Check for NIM resources correctly. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3490 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/aixinstall.pm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/aixinstall.pm b/xCAT-server/lib/xcat/plugins/aixinstall.pm index 3ba9b28c1..07c2406bb 100644 --- a/xCAT-server/lib/xcat/plugins/aixinstall.pm +++ b/xCAT-server/lib/xcat/plugins/aixinstall.pm @@ -4308,8 +4308,8 @@ sub doSNcopy # keep track if spot/lpp_source has already been backed up @::resbacked=(); - my @nimresources; foreach my $snkey (keys %$sn) { + my @nimresources; if (!&is_me($snkey) ) { # running on the management node so @@ -5590,6 +5590,13 @@ sub rmdsklsnode # - just set global for now $::callback=$callback; + if (defined(@{$::args})) { + @ARGV = @{$::args}; + } else { + &rmdsklsnode_usage($callback); + return 2; + } + my $Sname = &myxCATname(); chomp $Sname;