Merge pull request #621 from bronson/nobind9

don't install bind9-host when setting hostname
This commit is contained in:
Joshua Tauberer 2015-12-07 15:52:47 -05:00
commit 0029811de2
1 changed files with 0 additions and 2 deletions

View File

@ -207,8 +207,6 @@ if [ "$PUBLIC_IPV6" = "auto" ]; then
PUBLIC_IPV6=$(get_publicip_from_web_service 6 || get_default_privateip 6)
fi
if [ "$PRIMARY_HOSTNAME" = "auto" ]; then
# Use reverse DNS to get this machine's hostname. Install bind9-host early.
hide_output apt-get -y install bind9-host
PRIMARY_HOSTNAME=$(get_default_hostname)
elif [ "$PRIMARY_HOSTNAME" = "auto-easy" ]; then
# Generate a probably-unique subdomain under our justtesting.email domain.