mirror of
				https://github.com/mail-in-a-box/mailinabox.git
				synced 2025-10-30 18:50:53 +00:00 
			
		
		
		
	allow for network checks to be skips in setup while testing using SKIP_NETWORK_CHECKS=1
This commit is contained in:
		
							parent
							
								
									6619239280
								
							
						
					
					
						commit
						c74bef12d2
					
				
							
								
								
									
										1
									
								
								Vagrantfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								Vagrantfile
									
									
									
									
										vendored
									
									
								
							| @ -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 | |||||||
| 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. | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user