take domain from _deploy.conf for DNS settings in installer
This commit is contained in:
parent
f0de2c0e31
commit
1deb682f87
|
@ -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 "Default IPv4 route = %s\n", $_ipv4_gateway if $_ipv4 ne "autoconf";
|
||||||
printf $fh_install "IPv6 default router = %s\n", $_ipv6_gateway;
|
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 "DNS nameservers = %s\n", $conf{'conf'}{'DNS'} if $_ipv4 ne "autoconf";
|
||||||
|
|
||||||
printf $fh_install "Setup a user = %s\n", $_username;
|
printf $fh_install "Setup a user = %s\n", $_username;
|
||||||
|
|
Loading…
Reference in New Issue