2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-22 22:15:30 +00:00

Fixes statefull installation with Oracle Linux

This commit is contained in:
Vinícius Ferrão
2021-04-16 17:18:21 -03:00
parent 7526223a25
commit 75a6cd03fe

View File

@ -299,7 +299,7 @@ sub subvars {
my $writerepo;
my $c = 0;
foreach my $pkgdir (@pkgdirs) {
if ($platform =~ /^(rh|SL|centos|fedora)$/) {
if ($platform =~ /^(rh|SL|centos|ol|fedora)$/) {
if ($c == 0) {
# After some tests, if we put the repo in pre scripts in the kickstart like for rhels6.x
# the rhels5.9 will not be installed successfully. So put in kickstart directly.