2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-22 01:21:44 +00:00

add rhel8 support to build scripts

This commit is contained in:
cxhong 2020-04-27 15:35:19 -04:00
parent 847ef89f5c
commit f32ba103e3

View File

@ -13,6 +13,8 @@ if (grep /Red Hat Enterprise Linux Server release 5\.\d/, @output) {
$os = "rh6";
} elsif (grep /Red Hat Enterprise Linux Server release 7\.\d/, @output) {
$os = "rh7";
} elsif (grep /Red Hat Enterprise Linux Server release 8\.\d/, @output) {
$os = "rh8";
} elsif (grep /CentOS Linux release 7\.\d/, @output) {
$os = "rh7";
} elsif (grep /CentOS release 6\.\d/, @output) {