initial commit

This commit is contained in:
2025-12-10 22:50:35 +09:00
parent 8cf674c9e5
commit 6b76389942
12 changed files with 393 additions and 493 deletions

View File

@@ -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()