mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-10-31 16:11:03 +01:00 
			
		
		
		
	fix relogin test, pass accept route flag
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
		
							parent
							
								
									1766e6b5df
								
							
						
					
					
						commit
						12a04f9459
					
				| @ -316,6 +316,7 @@ func (t *TailscaleInContainer) Execute( | ||||
| 		options..., | ||||
| 	) | ||||
| 	if err != nil { | ||||
| 		// log.Printf("command issued: %s", strings.Join(command, " ")) | ||||
| 		// log.Printf("command stderr: %s\n", stderr) | ||||
| 
 | ||||
| 		if stdout != "" { | ||||
| @ -343,6 +344,7 @@ func (t *TailscaleInContainer) Login( | ||||
| 		"--login-server=" + loginServer, | ||||
| 		"--authkey=" + authKey, | ||||
| 		"--hostname=" + t.hostname, | ||||
| 		"--accept-routes", | ||||
| 	} | ||||
| 
 | ||||
| 	if t.withSSH { | ||||
| @ -381,6 +383,7 @@ func (t *TailscaleInContainer) LoginWithURL( | ||||
| 		"up", | ||||
| 		"--login-server=" + loginServer, | ||||
| 		"--hostname=" + t.hostname, | ||||
| 		"--accept-routes", | ||||
| 	} | ||||
| 
 | ||||
| 	_, stderr, err := t.Execute(command) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user