take domain from _deploy.conf for DNS settings in installer

This commit is contained in:
mischa 2023-05-04 14:35:32 +02:00
parent f0de2c0e31
commit 1deb682f87
1 changed files with 1 additions and 1 deletions

View File

@ -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;