cloud-init removes NOZEROCONF=yes from /etc/sysconfig/network

Solution In Progress - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content