cloud-init removes NOZEROCONF=yes from /etc/sysconfig/network
Issue
cloud-init 18.2 in RHEL 7.6 overwrites file /etc/sysconfig/network. cloud-init 0.7.9 from RHEL 7.5 did not show this behavior.
The main issue with this new behavior is that it overwrites settings which were set by kickstart, most notably NOZEROCONF=yes. This can break the deployment of new instances due to the fact that they cannot reach the metadata server due to route issues towards 169.254.169.254.
Environment
Red Hat Enterprise Linux 7.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.