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:
parent
f8178de0ed
commit
3d9ec7fd01
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user