From 9a82a897f7fc587564f4830b30f74673bb3edb18 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 26 Jun 2008 14:06:20 +0000 Subject: [PATCH] -Change for SLES named path to be acceptable git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1770 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/bind.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/bind.pm b/xCAT-server/lib/xcat/plugins/bind.pm index 2347d9763..2029f6ed5 100755 --- a/xCAT-server/lib/xcat/plugins/bind.pm +++ b/xCAT-server/lib/xcat/plugins/bind.pm @@ -36,6 +36,9 @@ my $dotxt = 0; my $dontdodomains = 0; my $Bootfile = "/etc/named.conf"; my $DBDir = "/var/named/"; +unless (-d $DBDIR) { + $DBDir = " /var/lib/named"; +} my $Domain = ""; my $Hostfile = "/etc/hosts"; my $Commentfile = "";