diff --git a/perl-xCAT/xCAT/data/discinfo.pm b/perl-xCAT/xCAT/data/discinfo.pm index 93173fd77..e97c835d0 100755 --- a/perl-xCAT/xCAT/data/discinfo.pm +++ b/perl-xCAT/xCAT/data/discinfo.pm @@ -35,6 +35,7 @@ require Exporter; "1195488871.805863" => "centos4.6", "1195487524.127458" => "centos4.6", "1301444731.448392" => "centos5.6", + "1414159991.958686" => "centos6.6", "1170973598.629055" => "rhelc5", "1170978545.752040" => "rhels5", "1192660014.052098" => "rhels5.1", @@ -55,6 +56,7 @@ require Exporter; "1354214009.518521" => "rhels5.9", #ppc64 "1378846702.129847" => "rhels5.10", #x86_64 "1378845049.643372" => "rhels5.10", #ppc64 + "1409145026.642170" => "rhels5.11", "1285193176.460470" => "rhels6", #x86_64 "1285192093.430930" => "rhels6", #ppc64 "1305068199.328169" => "rhels6.1", #x86_64 diff --git a/xCAT-server/share/xcat/netboot/rh/genimage b/xCAT-server/share/xcat/netboot/rh/genimage index 6cea41848..76b49dcb3 100755 --- a/xCAT-server/share/xcat/netboot/rh/genimage +++ b/xCAT-server/share/xcat/netboot/rh/genimage @@ -1704,6 +1704,14 @@ sub using_systemd { if ($1 >= 7) { return 1; } + }elsif ($os =~/centos(\d+)/){ + if($1 >= 7){ + return 1; + } + }elsif ($os =~/rhelhpc(\d+)/){ + if($1 >= 7){ + return 1; + } } return 0;