Cloning a RHEL 9 virtual machine from content library is keeping the previous machine-id
search cancel

Cloning a RHEL 9 virtual machine from content library is keeping the previous machine-id

book

Article ID: 438529

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

When cloning/deploying a new virtual machine from a RHEL 9 template from a content library, the machine-id is being preserved making it unable to register with Red Hat Satellite Server.

Environment

  • VMware vCenter Server 8.x
  • RHEL 9.x

Cause

The /etc/machine-id file in the RHEL virtual machine was not cleared out before converting the VM to template.

Resolution

Before converting the VM to template:

  1. Make sure that the D-Bus package is installed so dbus-uuidgen binary is available to generate new UUID on deployment
  2. Clear out the /etc/machine-id file
  3. Power off the VM
  4. Convert to Template or Clone as Template to Library

Additional Information

Guest Operating System Customization Requirements