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

Issue/Introduction

When cloning/deploying a new Virtual Machine off of a RHEL 9 template the machine-id is being preserved making it unable to register with Red Hat Satellite Server.

Environment

  • vSphere 8.X
  • RHEL 9.X

Cause

The /etc/machine-id file 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