-Fix getAttribs call
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7355 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
cab4f3c0d1
commit
df5f195e84
@ -1651,7 +1651,7 @@ sub clonevms {
|
||||
my $masterref;
|
||||
if ($base) { #if base, we need to pull in the target datastores
|
||||
my $mastertab=xCAT::Table->new('vmmaster');
|
||||
$masterref=$mastertab->getAttribs(name=>$base);
|
||||
$masterref=$mastertab->getAttribs({name=>$base},[qw/storage os arch profile storagemodel nics/]);
|
||||
unless ($masterref) {
|
||||
foreach my $node (@$nodes) {
|
||||
xCAT::SvrUtils::sendmsg([1,"Cannot find master $base in vmmaster table"], $output_handler,$node);
|
||||
|
Loading…
Reference in New Issue
Block a user