diff options
author | Ryan Harper <ryan.harper@canonical.com> | 2019-09-26 19:52:02 +0000 |
---|---|---|
committer | Server Team CI Bot <josh.powers+server-team-bot@canonical.com> | 2019-09-26 19:52:02 +0000 |
commit | f80f7f0d82eaf05e68419c7ac87bf5d4c934b796 (patch) | |
tree | 5b2e1c1d39ea82d34f3ebfb2462efbfa630360e5 /sysvinit/freebsd/cloudinitlocal | |
parent | 0948cdfbef2052cdf839f24d6a17d457aa9fd4d3 (diff) | |
download | vyos-cloud-init-f80f7f0d82eaf05e68419c7ac87bf5d4c934b796.tar.gz vyos-cloud-init-f80f7f0d82eaf05e68419c7ac87bf5d4c934b796.zip |
sysconfig: only write resolv.conf if network_state has DNS values
If an OS image provided an /etc/resolv.conf file that was not empty
cloud-init would read and re-write it with a cloud-init header even
if no DNS network configuration was provided (e.g. DHCP only).
This can cause problems for some network services which don't
ignore cloud-init's header.
LP: #1843634
Diffstat (limited to 'sysvinit/freebsd/cloudinitlocal')
0 files changed, 0 insertions, 0 deletions