So basically I create a new VM using ubuntu/noble/cloudimage. Then install openssh-server and reset password of the user ubuntu. After than I take a snapshot and export it as an image.
Now I tried to create another VM using the newly created image, and it results in the two machine with the same IP address.
This does not happen with containers. Only VM.
Oh and I did everything in Incus UI. The Incus is initialized with everything default except the remote access part.
The VM/Container’s IP is assigned by DHCP. I guess the IP is not reassigned after the VM is recreated. I did try running dhcpcd and it results in another set of addresses, not replace the existing one. I’m suspecting something with the cloud-init and netplan, but after trying a few thing (includine cloud-init clean, I still can’t manage to get a new IPv4 address.
Incus version is 6.20, the Host OS is Ubuntu 24.04.3 LTS.
PS. I wish I can override the IP address in the GUI somehow.
