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

Merge pull request #27 from xuweibj/centos

support centos to build ipmitool
This commit is contained in:
zet809 2018-11-02 14:44:22 +08:00 committed by GitHub
commit d58391b930
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {