

vSphere Cloned VMs have Same IP Address
source link: https://brandonwillmott.com/2020/12/08/vsphere-cloned-vms-have-same-ip-address/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
vSphere Cloned VMs have Same IP Address
I recently ran into a problem where new vSphere-hosted virtual machines that are cloned from existing VMs have the same IP address. I assumed the clone process took care of these issues but apparently not. To fix this, I found the following solution:
- Remove
machine-id
withsudo rm -rf /etc/machine-id
- Run
dbus-uuidgen --ensure=/etc/machine-id
After a reboot, the cloned VM has a new IP address!
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK