fix defect 2983092 use /opt/xcat and not hardcode path to makenamed.conf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5697 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
0a5e4a0da5
commit
68717ef6d9
@ -701,8 +701,14 @@ sub setup_FTP
|
||||
sub setup_DNS
|
||||
{
|
||||
|
||||
my $XCATROOT = "/opt/xcat"; # default
|
||||
|
||||
if ($ENV{'XCATROOT'})
|
||||
{
|
||||
$XCATROOT = $ENV{'XCATROOT'};
|
||||
}
|
||||
# setup the named.conf file
|
||||
system("/opt/xcat/sbin/makenamed.conf");
|
||||
system("$XCATROOT/sbin/makenamed.conf");
|
||||
|
||||
# turn DNS on
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user