diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 0bc43b49..b03aaff7 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -537,21 +537,35 @@ version_check_dnsmasq() { sed -i '/^server=@DNS2@/d' ${dnsmasq_pihole_01_location} fi + #sed -i "s/@HOSTNAME@/$hostname/" ${dnsmasq_pihole_01_location} + if [[ -f /etc/hostname ]]; then hostname=$(