-Don't attempt to inventory a VM with a missing 'config'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9256 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
0dc690847c
commit
f1d0eaf2b0
@ -574,6 +574,10 @@ sub inv {
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (not $args{vmview}->{config}) {
|
||||
xCAT::SvrUtils::sendmsg([1,"VM is in an invalid state"], $output_handler,$node);
|
||||
return;
|
||||
}
|
||||
|
||||
@ARGV= @{$args{exargs}};
|
||||
require Getopt::Long;
|
||||
|
Loading…
x
Reference in New Issue
Block a user