Comment 4 for bug 1892447

Revision history for this message
Scott Moser (smoser) wrote :

I set back to 'New', Pengpeng's comment does make sense.

cloudinit/net/sysconfig.py's render_network_state calls _render_dns.
_render_dns then will load the existing file if it is present.

So the end result is that if we have a "stale" version of
/etc/resolv.conf on the system, then the dns servers provided in
networking configuration get appended to that list.

That does seem wrong, and results in the desired networking configuration
not being applied.