Guest OS Customization fails to customize Centos Stream 10 and RHEL 10.x in VMware Cloud Director
search cancel

Guest OS Customization fails to customize Centos Stream 10 and RHEL 10.x in VMware Cloud Director

book

Article ID: 397702

calendar_today

Updated On: 05-16-2025

Products

VMware Cloud Director

Issue/Introduction

  • Guest OS Customization fails to customize Centos Stream 10 and RHEL 10.x in VMware Cloud Director (VCD).
  • When powering on the VM forcing the guest customization no error is seen in VCD and the task complete successfully.
  • In /var/log/vmware-imc/toolsDeployPkg.txt on the Guest OS the below error is reported:

    DATE TIME DEBUG: opening file for writing (/etc/sysconfig/network-scripts/ifcfg-eth0).
    DATE TIME ERROR: Fatal error occurred during customization !! Customization halted.
    DATE TIME ERROR: Error : No such file or directory:Error writing data to file (/etc/sysconfig/network-scripts/ifcfg-eth0). No such file or directory at /var/run/.vmware-imgcust-dYgea8Y/scripts/Utils.pm line 655.
  • The folder /etc/sysconfig/network-scripts/ does not exist on the Guest OS.

  • Guest OS customization succeeded when directly perfumed from vSphere 8.0U3b.

Environment

VMware Cloud Director 10.6.1

Cause

NetworkManager doesn't support ifcfg-rh profile since RHEL10.0, therefore /etc/sysconfig/network-scripts path is removed. This leads to guest customization fails to locate this path and ends with error.

Resolution

This is a known issue and currently there is no resolution.

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"

Additional Information

Subscribe to this knowledge article to get updates on this issue.