Merge ~smoser/cloud-init:bug/1675576-netplan-delete-builtin into cloud-init:master
| Status: | Merged |
|---|---|
| Merged at revision: | d23543eb206326a53a59d86afba862edbd02c231 |
| Proposed branch: | ~smoser/cloud-init:bug/1675576-netplan-delete-builtin |
| Merge into: | cloud-init:master |
| Diff against target: |
162 lines (+106/-1) 2 files modified
cloudinit/net/netplan.py (+40/-0) tests/unittests/test_net.py (+66/-1) |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Server Team CI bot | continuous-integration | Approve on 2017-03-30 | |
| Ryan Harper | 2017-03-30 | Approve on 2017-03-30 | |
|
Review via email:
|
|||
Commit Message
net: in netplan renderer delete known image-builtin content.
When rendering network configuration to netplan, remove known
"builtin" configurations. The specific example here is Ubuntu Core
that has netplan configuration in etc/netplan/
We also delete the derived files since netplan will have created
these derived files in its generator that runs well before cloud-init.
LP: #1675576
| Ryan Harper (raharper) wrote : | # |
Looks good, noted some leftover print statements that likely need removed or converted to LOG.debug()
PASSED: Continuous integration, rev:082ee5f0cdc
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild:
https:/
PASSED: Continuous integration, rev:fbd080d0efb
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild:
https:/
PASSED: Continuous integration, rev:d23543eb206
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild:
https:/


PASSED: Continuous integration, rev:9022eadfd10 be317d600ef50e5 8ca6ee52136894 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 186/ /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- amd64/186 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- arm64/186 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- ppc64el/ 186 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- s390x/186 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=vm- i386/186
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 186/rebuild
https:/