I have a virtual machine running Oracle Linux 6.5 that I have cloned from a production VM. The original machine was registered to the Oracle Linux Network, but I'd like the cloned VM to just pull packages from the public Oracle and EPEL repos. How can I disable the registration on the clone without unregistering from OLN, which would also ungregister the production machine?
Linux – Disable Oracle Linux Network registration on a cloned virtual machine
linux
Best Answer
I've not used 6.5 but I hope this will be valid for this version as well.
Each server is identified by its UUID. When you clone a system, you need to change its UUID in the config file for ULN.
Start by running
uuidgen
to get a new UUID:Then edit the file
/etc/sysconfig/rhn/up2date-uuid
and replace therhnuuid
value with the string you just created:Then re-run the
up2date
utility