/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.
VMware Cloud Director 10.6.1
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.
This is a known issue and currently there is no resolution.
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"
Subscribe to this knowledge article to get updates on this issue.