mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-12 17:30:19 +00:00
-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:
@ -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;
|
||||
|
Reference in New Issue
Block a user