Programmatically Assigning Hosts to Servers?

We are managing the image through image builder and want to automatically deploy a new ami every few weeks.

Is there the possibility yet to attach the hosts to a server through the api or cli?

There’s no option to attach hosts with the CLI. The file /var/lib/pritunl/pritunl.uuid stores the host ID, this ID can be transferred to new hosts to maintain the host configuration.