diff --git a/Vagrantfile b/Vagrantfile index c6ef0ab9..c6610402 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -15,13 +15,11 @@ Vagrant.configure("2") do |config| config.vm.provision :shell, :inline => <<-SH # Set environment variables so that the setup script does # not ask any questions during provisioning. We'll let the - # machine figure out its own public IP and it'll take a - # subdomain on our justtesting.email domain so we can get - # started quickly. + # machine figure out its own public IP. export NONINTERACTIVE=1 export PUBLIC_IP=auto export PUBLIC_IPV6=auto - export PRIMARY_HOSTNAME=auto-easy + export PRIMARY_HOSTNAME=auto #export SKIP_NETWORK_CHECKS=1 # Start the setup script. diff --git a/setup/questions.sh b/setup/questions.sh index 2c000d74..57da5c92 100644 --- a/setup/questions.sh +++ b/setup/questions.sh @@ -180,9 +180,6 @@ if [ "$PUBLIC_IPV6" = "auto" ]; then fi if [ "$PRIMARY_HOSTNAME" = "auto" ]; then PRIMARY_HOSTNAME=$(get_default_hostname) -elif [ "$PRIMARY_HOSTNAME" = "auto-easy" ]; then - # Generate a probably-unique subdomain under our justtesting.email domain. - PRIMARY_HOSTNAME=`echo $PUBLIC_IP | sha1sum | cut -c1-5`.justtesting.email fi # Set STORAGE_USER and STORAGE_ROOT to default values (user-data and /home/user-data), unless