Network configuration issue using Cloud Init in RHEL 7.9
Issue Description
We are using RHEL 7.9 DVD Iso file and doing some customization and creating a new customized Image for RHEL 7.9.
But while booting the custom image we are facing an issue with IP address allocation.
So this is my Cloud Init Meta Data File for RHEL 7.9
instance-id: {{ vm_name }}
local-hostname: {{ vm_name }}
preserve_hostname: false
network:
version: 2
ethernets:
eth0:
match:
name: eth0
dhcp4: false
dhcp6: false
addresses:
- {{ ETH0_IP }}
gateway4: {{ ETH0_GW }}
nameservers:
search: [{{ search_domains }}]
addresses: [{{ DNS_Servers }}]
This same Meta Data file is working fine on RHEL 8