Update tsic.go

This commit is contained in:
Kristoffer Dalby 2023-09-03 13:54:41 +02:00
parent 12a04f9459
commit 7edc953d35

View file

@ -344,7 +344,7 @@ func (t *TailscaleInContainer) Login(
"--login-server=" + loginServer, "--login-server=" + loginServer,
"--authkey=" + authKey, "--authkey=" + authKey,
"--hostname=" + t.hostname, "--hostname=" + t.hostname,
"--accept-routes", "--accept-routes=false",
} }
if t.withSSH { if t.withSSH {
@ -383,7 +383,7 @@ func (t *TailscaleInContainer) LoginWithURL(
"up", "up",
"--login-server=" + loginServer, "--login-server=" + loginServer,
"--hostname=" + t.hostname, "--hostname=" + t.hostname,
"--accept-routes", "--accept-routes=false",
} }
_, stderr, err := t.Execute(command) _, stderr, err := t.Execute(command)