Cloned VM has the same dhcp ip address: Difference between revisions
From LinuxizeNet
No edit summary |
(Remove inert legacy #ae8c55 wrapper (superseded by site CSS)) |
||
| Line 1: | Line 1: | ||
{{clear}} | |||
{{clear}} | |||
After cloning a VM from another VM, or from a template the DHCP address is the same. The problem is that machine-id remains. | After cloning a VM from another VM, or from a template the DHCP address is the same. The problem is that machine-id remains. | ||
Latest revision as of 21:02, 9 August 2026
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