Merge branch 'ammaratef45-removeDomainCheck'
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		| @ -113,13 +113,10 @@ for each server: | ||||
| If "--local" is passed, then Abra assumes that the current local server is | ||||
| intended as the target server. This is useful when you want to have your entire | ||||
| Co-op Cloud config located on the server itself, and not on your local | ||||
| developer machine. The domain is then set to "default". | ||||
|  | ||||
| You can also pass "--no-domain-checks/-D" flag to use any arbitrary name | ||||
| instead of a real domain. The host will be resolved with the "Hostname" entry | ||||
| of your ~/.ssh/config. Checks for a valid online domain will be skipped.`, | ||||
| developer machine. The domain is then set to "default".`, | ||||
| 	Flags: []cli.Flag{ | ||||
| 		internal.NoDomainChecksFlag, | ||||
| 		internal.DebugFlag, | ||||
| 		internal.NoInputFlag, | ||||
| 		localFlag, | ||||
| 	}, | ||||
| 	Before:   internal.SubCommandBefore, | ||||
| @ -164,10 +161,8 @@ of your ~/.ssh/config. Checks for a valid online domain will be skipped.`, | ||||
| 			return nil | ||||
| 		} | ||||
|  | ||||
| 		if !internal.NoDomainChecks { | ||||
| 			if _, err := dns.EnsureIPv4(name); err != nil { | ||||
| 				log.Fatal(err) | ||||
| 			} | ||||
| 		if _, err := dns.EnsureIPv4(name); err != nil { | ||||
| 			log.Warn(err) | ||||
| 		} | ||||
|  | ||||
| 		_, err := createServerDir(name) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user