2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 10:06:39 +00:00

fix Only supports RHEL error

This commit is contained in:
bybai 2015-12-21 03:20:15 -05:00
parent f8178de0ed
commit 3d9ec7fd01

View File

@ -41,9 +41,12 @@ if [ "$str_os_type" = "linux" ];then
isSLES=1
nwdir="/etc/sysconfig/network"
log_error "Only supports RHEL" "error"
exit -1
elif [ -f "/etc/debian_version" ];then
nwdir="/etc/network/interfaces.d"
isDebian=1
log_error "Only supports RHEL" "error"
exit -1
else
log_error "Only supports RHEL" "error"
exit -1