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

Release vSphere 8.0U3b and later now support Guest OS IP Customization with the following operating systems:

RHEL 10.x, AlmaLinux 10.x and Rocky Linux 10.x and Oracle Linux 10.x

To successfully have the Guest OS IP Customization feature succeed, follow the steps below:

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.