Merge ~jcastets/cloud-init:fix-net-cfg into cloud-init:master
Proposed by
Julien Castets
on 2017-05-16
| Status: | Merged |
|---|---|
| Approved by: | Scott Moser on 2017-05-16 |
| Approved revision: | 2728c9de628ef88527e7725606271333455fd710 |
| Merged at revision: | 9d437489b8ce1f8cd9d34cd9ff4994ca18bd2d78 |
| Proposed branch: | ~jcastets/cloud-init:fix-net-cfg |
| Merge into: | cloud-init:master |
| Diff against target: |
30 lines (+7/-1) 2 files modified
cloudinit/net/cmdline.py (+5/-0) tests/unittests/test_net.py (+2/-1) |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Server Team CI bot | continuous-integration | Approve on 2017-05-16 | |
| cloud-init commiters | 2017-05-16 | Pending | |
|
Review via email:
|
|||
Description of the Change
Add address to config entry generated by _klibc_
If /run/net-<name>.cfg contains an IPV4ADDR or an IPV6ADDR, the config
file generated by _klibc_
LP: #1691135
To post a comment you must log in.
| Scott Moser (smoser) wrote : | # |
My only comments here is with respect to dhcp.
If the configuration type was dhcp, then i think its more correct to not include 'address', as most dhcp stanzas for network config are not going to have an address so that is at very least confusing.
How about this diff :
http://
| Julien Castets (jcastets) wrote : | # |
I pushed --force with your modifications


PASSED: Continuous integration, rev:881495e7930 dacf5a7195e560e c66589e44b55df /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 338/ /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- amd64/338 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- arm64/338 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- ppc64el/ 338 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=vm- i386/338
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 338/rebuild
https:/