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:
parent
2c2c6fb30c
commit
149d6d09cb
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user