RedHat
From Leaky
If cloning a virtual machine running RedHat Enterprise Linux, you need to edit the following.
- Remove and regenerate SSH keys in /etc/ssh/ssh_host_*
- Hostname in /etc/hosts (if present)
- Network settings /etc/sysconfig/network-scripts/ifcfg-ens32 (for example)
- Delete the file /etc/sysconfig/rhn/systemid if it exists
- Register the new system with subscription-manager