Commit c74bef12 authored by Joshua Tauberer's avatar Joshua Tauberer

allow for network checks to be skips in setup while testing using SKIP_NETWORK_CHECKS=1

parent 66192392
...@@ -22,6 +22,7 @@ Vagrant.configure("2") do |config| ...@@ -22,6 +22,7 @@ Vagrant.configure("2") do |config|
export PUBLIC_IPV6=auto export PUBLIC_IPV6=auto
export PRIMARY_HOSTNAME=auto-easy export PRIMARY_HOSTNAME=auto-easy
export CSR_COUNTRY=US export CSR_COUNTRY=US
#export SKIP_NETWORK_CHECKS=1
# Start the setup script. # Start the setup script.
cd /vagrant cd /vagrant
......
...@@ -178,7 +178,9 @@ if [ "$PRIMARY_HOSTNAME" = "auto-easy" ]; then ...@@ -178,7 +178,9 @@ if [ "$PRIMARY_HOSTNAME" = "auto-easy" ]; then
fi fi
# Run some network checks to make sure setup on this machine makes sense. # Run some network checks to make sure setup on this machine makes sense.
. setup/network-checks.sh if [ -z "$SKIP_NETWORK_CHECKS" ]; then
. setup/network-checks.sh
fi
# Create the user named "user-data" and store all persistent user # Create the user named "user-data" and store all persistent user
# data (mailboxes, etc.) in that user's home directory. # data (mailboxes, etc.) in that user's home directory.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment