Guest OS Customization may fail to customize RHEL 10.x
search cancel

Guest OS Customization may fail to customize RHEL 10.x

book

Article ID: 392627

calendar_today

Updated On:

Products

VMware vCenter Server 8.0 VMware vCenter Server

Issue/Introduction

Symptoms:

For RHEL 10.x, AlmaLinux 10.x and Rocky Linux 10.x and Oracle Linux 10.x virtual machine, guest os customization may fail to work on it.

Environment

VMware vCenter Server 8.0U3

Cause

Since RHEL 10.0, It's NetworkManager doesn't support ifcfg-rh profile any more, therefore the path /etc/sysconfig/network-scripts is removed. This leads to guest os customization fails to locate this path and ends with error.

Resolution

The issue has been fixed in vSphere 8.0U3b release.

Workaround:

Update virtual machine or template to create the path "/etc/sysconfig/network-scripts" before customizing it.

e.g. "sudo mkdir -p /etc/sysconfig/network-scripts"

Or

Switch to cloud-init engine to do guest os customization, please refer to KB How does vSphere Guest OS Customization work with cloud-init to customize a Linux VM.