Fix problem with esxi detection of image template availability
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16135 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
121d3de03b
commit
5dab441718
@ -4223,8 +4223,8 @@ sub copycd {
|
||||
|
||||
unless ($found) { return; } #not our media
|
||||
if ($::XCATSITEVALS{osimagerequired}){
|
||||
my $haveimages=xCAT::SvrUtils->update_tables_with_templates($distname, $arch,"","",checkonly=>1);
|
||||
unless ($haveimages) {
|
||||
my ($nohaveimages,$errstr)=xCAT::SvrUtils->update_tables_with_templates($distname, $arch,"","",checkonly=>1);
|
||||
if ($nohaveimages) {
|
||||
$output_handler->({error => "No Templates found to support $distname($arch)",errorcode=>2});
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user