![](https://seccdn.libravatar.org/avatar/aab04d5f13b61758d0dc6fa36785afc0.jpg?s=120&d=mm&r=g)
Von: Tim Shaw [mailto:Tim.Shaw@medsci.ox.ac.uk]
I have a VMware CentOS7 VM which was cloned from another. When I import the first as a Salt client everything is fine. When I go to register the second, a new salt key is generated for the second hostname but when the key is accepted, some attributes of the original registered machine are replaced by the second. In other words, a second registered system is not created, the first system is converted into the identity of the second.
I had a similar replacement effect with cloned VMs. Somewhere I found an advise that worked fine: rm /etc/machine-id rm /var/lib/dbus/machine-id dbus-uuidgen --ensure systemd-machine-id-setup cat /etc/salt/minion_id ( vi /etc/salt/minion_id service salt-minion restart ) The last lines are optional for checking that the system is using its own minion_id. Hope it helps! Regards, Tobias.