Merge lp:~raharper/curtin/trunk.fix-lp1536262 into lp:~curtin-dev/curtin/trunk
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 356 | ||||
Proposed branch: | lp:~raharper/curtin/trunk.fix-lp1536262 | ||||
Merge into: | lp:~curtin-dev/curtin/trunk | ||||
Diff against target: |
125 lines (+52/-8) 4 files modified
curtin/net/__init__.py (+5/-4) examples/tests/basic_network_static.yaml (+17/-0) tests/unittests/test_net.py (+5/-4) tests/vmtests/test_network.py (+25/-0) |
||||
To merge this branch: | bzr merge lp:~raharper/curtin/trunk.fix-lp1536262 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Scott Moser (community) | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+284053@code.launchpad.net |
Commit message
curtin/net: move global dns-* options under auto lo in ENI
ifupdown expects any dns-* options to be related to an iface stanza
The only iface ensured to be called with ifup is lo; moving the dns-*
parameters under iface lo allows dns options to always be present even
if other interfaces are not ifup'ed.
Update unittests and add new vmtest (TestNetworkStatic) to confirm
proper configuration under lo iface.
Description of the change
curtin/net: move global dns-* options under auto lo in ENI
ifupdown expects any dns-* options to be related to an iface stanza
The only iface ensured to be called with ifup is lo; moving the dns-*
parameters under iface lo allows dns options to always be present even
if other interfaces are not ifup'ed.
Update unittests and add new vmtest (TestNetworkStatic) to confirm
proper configuration under lo iface.
PASSED: Continuous integration, rev:347 /server- team-jenkins. canonical. com/job/ curtin- ci/147/ /server- team-jenkins. canonical. com/job/ generic- update- mp/144/ console
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild: /server- team-jenkins. canonical. com/job/ curtin- ci/147/ rebuild
https:/