diff --git a/xCAT-server/lib/xcat/plugins/imgport.pm b/xCAT-server/lib/xcat/plugins/imgport.pm index adbfc574d..b3dffe3db 100644 --- a/xCAT-server/lib/xcat/plugins/imgport.pm +++ b/xCAT-server/lib/xcat/plugins/imgport.pm @@ -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 diff --git a/xCAT-server/lib/xcat/plugins/litetree.pm b/xCAT-server/lib/xcat/plugins/litetree.pm index 6c7b7c60d..25d0430ec 100644 --- a/xCAT-server/lib/xcat/plugins/litetree.pm +++ b/xCAT-server/lib/xcat/plugins/litetree.pm @@ -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