Cloned VM on Proxmox connects as original VM with Netbird

I’m running a Proxmox server at the moment. I have a VM running Ubuntu server with Netbird and I would like to clone this VM, because I’m currently having problems installing new VMs on this server. I don’t know why this is, but that’s for another time.
The problem is that I cannot seem to get Netbird to see the clone as a new peer. It keeps connecting as the original VM. I have tried uninstalling (purging) Netbird from the clone and then reinstalling it. It immediately gets recognized as the original VM with the identical Netbird IP address.
I understand this is a fairly niche request, but I was hoping somebody could help me sort this out.

netbird deregister should help or the hard way:

sudo service netbird stop
sudo rm -rf /etc/netbird/ # deletes the config

Thank you for the answer. I tried deregister with an uninstall, but as soon as I would reinstall Netbird and connect, it would connect as the original machine again. Luckily I found out how to install fresh VMs on my Proxmox, so I won’t need to clone an old machine anymore.

Can you describe what you mean by “connect as the original machine”
If you deleted the config (which holds it’s private key), there is no way, both machines appear as the same.

  • maybe you have to unique peers (with different Netbird IPs) but the same display name ?

What I meant was that when I would connect the clone and then do a netbird status, it would show the netbird ip address of the original machine. When I would disconnect the clone, the original machine itself would still report connected, but the dashboard would show it as online.
I also tried connecting the clone with a new setup key, but that also didn’t work. Maybe I performed the deregister incorrectly?