Additional code checkin for image group working with litefile and litetree tables
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13253 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
3c221e5366
commit
af998fbf28
@ -611,6 +611,8 @@ sub make_bundle {
|
||||
my $osimagetab = xCAT::Table->new("osimage",-create=>1);
|
||||
my $imagegroups = $osimagetab->getAttribs({imagename => $imagename}, @imagegroupsattr);
|
||||
if ($imagegroups and $imagegroups->{groups}) {
|
||||
# get the directories with no names
|
||||
push @imageInfo, $lftab->getAttribs({image => ''}, ('file','options'));
|
||||
# get for the image groups specific directories
|
||||
push @imageInfo, $lftab->getAttribs({image => $imagegroups->{groups}}, ('file','options'));
|
||||
# get for the image specific directories
|
||||
|
@ -326,6 +326,8 @@ sub getNodeData {
|
||||
my $osimagetab = xCAT::Table->new("osimage",-create=>1);
|
||||
my $imagegroups = $osimagetab->getAttribs({imagename => $image}, @imagegroupsattr);
|
||||
if ($imagegroups and $imagegroups->{groups}) {
|
||||
# get the directories with no names
|
||||
push @imageInfo, $tab->getAttribs({image => ''}, @attrs);
|
||||
# get for the image groups specific directories
|
||||
push @imageInfo, $tab->getAttribs({image => $imagegroups->{groups}}, @attrs);
|
||||
# get for the image specific directories
|
||||
|
Loading…
Reference in New Issue
Block a user