Merge ~raharper/cloud-init:fix/lp-1750884-netplan-global-dns into cloud-init:master
Proposed by
Ryan Harper
Status: | Merged |
---|---|
Approved by: | Chad Smith |
Approved revision: | ade07170a207d456d6742e913f54334dad0078ce |
Merge reported by: | Chad Smith |
Merged at revision: | d29eeccd2c422b8eb3b053fc13ca966ed6d74c78 |
Proposed branch: | ~raharper/cloud-init:fix/lp-1750884-netplan-global-dns |
Merge into: | cloud-init:master |
Diff against target: |
174 lines (+21/-79) 2 files modified
cloudinit/net/netplan.py (+9/-16) tests/unittests/test_net.py (+12/-63) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chad Smith | Abstain | ||
Server Team CI bot | continuous-integration | Approve | |
Scott Moser | Approve | ||
Review via email:
|
Commit message
Handle global dns entries in netplan
In network config v1 format, there are dns values which are not bound to a
specific interface and do not map to the per-interface format in netplan.
To handle this case we render netplan configuration that duplicates the
DNS configuration on any interface that has a static network config. We
avoiding interfaces which have DHCP configuration which may provide
conflicting DNS values.
LP: #1750884
Description of the change
see commit message.
To post a comment you must log in.
FAILED: Continuous integration, rev:36f1a4240e8 04a3e785ffd82ed 5ce76d2386204e /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 880/
https:/
Executed test runs:
SUCCESS: Checkout
FAILED: Unit & Style Tests
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 880/rebuild
https:/