Cloned VM has the same dhcp ip address

From LinuxizeNet
Revision as of 09:27, 11 April 2024 by Datanasov (talk | contribs)

After cloning a VM from another VM, or from a template the DHCP address is the same. The problem is that machine-id remains.

This is how to fix it.

sudo rm /etc/machine-id
sudo systemd-machine-id-setup
sudo reboot

Virtualization