diff --git a/xCAT-buildkit/bin/buildkit b/xCAT-buildkit/bin/buildkit index 820fe9ff5..130d9898a 100755 --- a/xCAT-buildkit/bin/buildkit +++ b/xCAT-buildkit/bin/buildkit @@ -3559,7 +3559,7 @@ sub NEW_kit_addpkgs my $repodir = "$::base_repodir/$kr->{kitreponame}"; if ( -d $repodir ) { my $cr_opts = ''; - if (( $kr->{osbasename} =~ m/rh|RH/ ) && + if (( $kr->{osbasename} =~ m/rh|RH|centos|CentOS/ ) && ( $kr->{osmajorversion} eq '5') ) { $cr_opts = '-s md5'; }