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;