Cloning a machine that has the Salt minion on it already

If you naively clone a machine with the salt minion on it, things won’t work when the clone comes up (assuming you want to keep the original running too). You need to have the salt minion on the newly cloned machine redo the pki “stuff”.

The easiest way is to just uninstall, delete /etc/salt/ and then reinstall, eg. “yum install salt-minion”

Make sure to update the IP of your salt master in /etc/salt/minion