mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 17:23:08 +00:00
SLE15: Fix makenamed.conf
This commit is contained in:
parent
d3511b2b0a
commit
36dd1d14db
@ -30,7 +30,10 @@ is_lsb_ubuntu ()
|
||||
|
||||
DIRECTORY=/var/named
|
||||
|
||||
if [ -f /etc/SuSE-release ]; then
|
||||
# check for SLES
|
||||
grep -s -q sles /etc/os-release
|
||||
IS_SLES=$?
|
||||
if [ -f /etc/SuSE-release ] || [ $IS_SLES -eq 0 ]; then
|
||||
DIRECTORY=/var/lib/named
|
||||
fi
|
||||
FILE=/etc/named.conf
|
||||
|
Loading…
x
Reference in New Issue
Block a user