Administrators managing Red Hat Enterprise Linux 8 (RHEL 8) environments often have the following technical inquiries regarding vSphere Guest OS Customization:
/etc/sysconfig/network-scripts/) instead of the newer NetworkManager Keyfile format path, given that RHEL 8 supports NetworkManager?VMware vSphere ESXi 8.0x
The specific scripts and commands executed by OpenVM Tools inside the Guest OS are proprietary to Broadcom/VMware and are not publicly documented in source code form. However, the architecture utilizes a standard open-source handoff mechanism.
The high-level workflow for RHEL 8 network configuration is as follows:
Note: For a deeper technical dive into the prerequisites and setup, refer to the Broadcom Knowledge Base article on How does vSphere Guest OS Customization work with cloud-init to customize a Linux VM
There is a deliberate difference in where vSphere writes network configuration files depending on the version of the Red Hat Enterprise Linux Guest OS.
|
Guest OS Version |
Configuration Path Used |
File Format |
|
RHEL 8 |
|
Legacy |
|
RHEL 9 |
|
NetworkManager Keyfile |
Users often observe that RHEL 8 customization writes to /etc/sysconfig/network-scripts/ and flag this as using a "deprecated" feature. This behaviour is by design and valid for the following reasons:
ifcfg files. vSphere customization utilizes this path to ensure maximum compatibility and reliability for the lifespan of the RHEL 8 OS.Local Name Resolution (/etc/hosts)
As part of the customization process, the script will automatically update the /etc/hosts file.
Related Articles: