Add ability for appliances to forbid 32 bit architectures for RHEL

This commit is contained in:
Jarrod Johnson 2013-11-11 15:31:32 -05:00
parent 102a6bbbf1
commit 15061d46a9

View File

@ -2135,6 +2135,11 @@ sub copycd
return;
}
}
if ($::XCATSITEVALS{onlysupportarchs} and $::XCATSITEVALS{onlysupportarchs} ne $arch) {
$callback->({error => "$arch is unsupported by this system",errorcode=>2});
return;
}
#tranverse the directory structure of the os media and get the fingerprint
my @filelist=();