2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-25 02:50:10 +00:00

support centos to build ipmitool

This commit is contained in:
xuweibj 2018-10-26 02:19:51 -04:00
parent 28a849d2d0
commit 7e17123198

View File

@ -13,6 +13,10 @@ 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 /CentOS Linux release 7\.\d/, @output) {
$os = "rh7";
} elsif (grep /CentOS release 6\.\d/, @output) {
$os = "rh6";
} elsif (grep /SUSE Linux Enterprise Server 10/, @output) {
$os = "sles10";
} elsif (grep /SUSE Linux Enterprise Server 11/, @output) {