tale / headplane

An advanced UI for juanfont/headscale
MIT License
178 stars 12 forks source link

Change machines's ip address #42

Open gebing opened 6 days ago

gebing commented 6 days ago

Machines's ip address is allocated automatically when machine was added to headscale network, and is random or sequential. We need change machines's ip address to our specific address.

headscale has an issue for the request, and machines's ip address can changed by modifying the record in db.sqlite.

please refer the following link:

https://github.com/juanfont/headscale/issues/1455

tale commented 5 days ago

I've already said this before, but I agree with what the maintainers of headscale said. I don't want to open the can of worms that is editing the database directly, so if it can't be done via an API operation I feel uneasy adding this.

TKaxv-7S commented 3 days ago

You can use the version where I have added change ip address modification. headplane: https://github.com/TKaxv-7S/headplane/tree/main_tk headscale: https://github.com/TKaxv-7S/headscale/tree/main_tk