FreeBSD: location settings file

Hi
I’m very happy that Tailscale now supports FreeBSD jails (containers). But I would like to know how to migrate my keyfile and settings from one machine to another. I prefer to rebuild my jails instead of upgrading existing jails in place. But if I cannot copy my tailscale settings I would have to re-authenticate the jail for each rebuild.

I found settings files in the $HOME/.local/share/tailscale folder. Are there any other files I need to copy before migrating tailscale from one jail to another?

you can copy the tailscaled.state file - this has your machine key.

A more robust strategy would be to use ephemeral node auth key - this will pre-authenticate the node as part of your automation, then the machine will disappear from your tailnet after a period of disuse.

Thanks for the help!