fixed bug 3732, centos 5.x needs the url rpository

This commit is contained in:
jjhua 2013-08-08 14:26:51 -04:00
parent 2aeee72311
commit fcd5f2fc45

View File

@ -178,7 +178,7 @@ sub subvars {
my $source_in_pre;
my $c = 0;
foreach my $pkgdir(@pkgdirs) {
if( $platform =~ /^(rh|SL)$/ ) {
if( $platform =~ /^(rh|SL|centos)$/ ) {
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.