2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 01:26:38 +00:00

fix 4764,support centos7 and rhelhpc7 stateless

This commit is contained in:
chudegao 2015-07-28 13:37:03 +08:00
parent 2c2c6fb30c
commit 149d6d09cb

View File

@ -1683,6 +1683,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;