In RHEL8/Rocky8 I was able to use
sed to edit network config files by removing the following lines:
HWADDR UUID IPADDR NETMASK GATEWAY
I am trying to repeat those steps during the building template for RHEL9/Rocky 9, but when I just disable connection, nothing happens, and editing
*.nmconnection by sed and removing
address. lines prevents the deployed VM from obtaining IPv4 at all.
Can someone suggest a solution to this issue?