Get correct provmethod for profiled nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14413 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
85daf29a34
commit
d31778304b
@ -558,8 +558,8 @@ sub get_imageprofile_prov_method
|
||||
my $entry = ($nodetypestab->getAllAttribsWhere("node = '$imgprofilename'", 'ALL' ))[0];
|
||||
my $osimgname = $entry->{'provmethod'};
|
||||
|
||||
my $osimgtab = xCAT::Table->new('osimage');
|
||||
my $osimgentry = ($osimgtab->getAllAttribsWhere("imagename = '$osimgname'", 'ALL' ))[0];
|
||||
return $osimgentry->{'provmethod'};
|
||||
#my $osimgtab = xCAT::Table->new('osimage');
|
||||
#my $osimgentry = ($osimgtab->getAllAttribsWhere("imagename = '$osimgname'", 'ALL' ))[0];
|
||||
#return $osimgentry->{'provmethod'};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user