How to Change RHEL 9 dmi.system.uuid

Garry Gayles
Garry Gayles
  • Updated
Change RHEL 9 dmi.system.uuid by editing the /etc/rhsm/facts/uuid.facts file with a new, unique UUID, then re-register the machine with subscription-manager.
 
On physical systems, the UUID is stored in firmware and may require manufacturer-specific tools to change.
 
In virtual machines, the UUID can be managed through virtualization platform settings.
 
 
Edit /etc/rhsm/facts/uuid.facts file.
 

Create or edit the UUID facts file:

  • Open the file in a text editor: 
$>sudo nano /etc/rhsm/facts/uuid.facts

 

  • Add or modify the following content, replacing "customuuid" with a unique UUID:
{
"dmi.system.uuid": "customuuid"
}

 

  • Generate a new UUID with tools such as uuidgen ...
$>sudo uuidgen

... or an online UUID generator.

 

Re-register the machine:

  • Unregister the system: 
$>sudo subscription-manager unregister
  • Register the system: 
$>sudo subscription-manager register --org="your_org" 

 
  • Disk vs. system UUID: 
     
    Be careful not to confuse the system UUID with partition UUIDs.

Related to

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.