From 1deb682f87b98767a5524043818f706602e811da Mon Sep 17 00:00:00 2001 From: mischa Date: Thu, 4 May 2023 14:35:32 +0200 Subject: [PATCH] take domain from _deploy.conf for DNS settings in installer --- deploy.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.pl b/deploy.pl index 2017da8..37b576d 100755 --- a/deploy.pl +++ b/deploy.pl @@ -215,7 +215,7 @@ sub render_install_conf { printf $fh_install "Default IPv4 route = %s\n", $_ipv4_gateway if $_ipv4 ne "autoconf"; printf $fh_install "IPv6 default router = %s\n", $_ipv6_gateway; - printf $fh_install "DNS domain name = %s\n", "high5.nl" if $_ipv4 ne "autoconf"; + printf $fh_install "DNS domain name = %s\n", $conf{'conf'}{'DOMAIN'} if $_ipv4 ne "autoconf"; printf $fh_install "DNS nameservers = %s\n", $conf{'conf'}{'DNS'} if $_ipv4 ne "autoconf"; printf $fh_install "Setup a user = %s\n", $_username;