initial commit
This commit is contained in:
@@ -73,7 +73,7 @@ func (c *Cli) Stop() error {
|
||||
}
|
||||
|
||||
func (c *Cli) Up() error {
|
||||
command := "tailscale up --accept-dns=false"
|
||||
command := "tailscale up --accept-dns=false --login-server=https://headscale.tindevil.com --hostname=batchuKVM"
|
||||
return exec.Command("sh", "-c", command).Run()
|
||||
}
|
||||
|
||||
@@ -111,7 +111,7 @@ func (c *Cli) Status() (*TsStatus, error) {
|
||||
}
|
||||
|
||||
func (c *Cli) Login() (string, error) {
|
||||
command := "tailscale login --accept-dns=false --timeout=10m"
|
||||
command := "tailscale login --accept-dns=false --timeout=10m --login-server=https://headscale.tindevil.com --hostname=batchuKVM"
|
||||
cmd := exec.Command("sh", "-c", command)
|
||||
|
||||
stderr, err := cmd.StderrPipe()
|
||||
|
||||
Reference in New Issue
Block a user