sipeed / NanoKVM

NanoKVM: Affordable, Multifunctional, Nano RISC-V IP-KVM
GNU General Public License v3.0
3.18k stars 57 forks source link

Headscale Support #141

Open m4us1ne opened 1 week ago

m4us1ne commented 1 week ago

Hey, I have setup a Headscale instance and was wondering if it could be supported it via the Tailscale Integration.

This could be possible via changing the tailscale login command in https://github.com/sipeed/NanoKVM/blob/74a303bd5cbb58f9d8ddd81abaaf4919dbbfb71b/server/service/network/tailscale.go#L145 to support the --login-server= argument.

Would a PR for this Issue be welcome?

wj-xiao commented 1 week ago

Yes. PR is welcome. For this request, I think you can execute the command manually.

# ssh into kvm

# restart tailscale
/etc/init.d/S98tailscaled restart

# login
tailscale login --login-server=argument
m4us1ne commented 1 week ago

I already did that :)

PatrickHuetter commented 1 week ago

+1 for that!