Merge ~pengpengs/cloud-init:fix/vmware-gosc-fail-with-staticIP-and-no-gateway into cloud-init:master
Proposed by
Pengpeng Sun
Status: | Merged |
---|---|
Approved by: | Scott Moser |
Approved revision: | efc50d39435f46af475899b954ee263bfde0c315 |
Merge reported by: | Server Team CI bot |
Merged at revision: | not available |
Proposed branch: | ~pengpengs/cloud-init:fix/vmware-gosc-fail-with-staticIP-and-no-gateway |
Merge into: | cloud-init:master |
Diff against target: |
149 lines (+116/-1) 2 files modified
cloudinit/sources/helpers/vmware/imc/config_nic.py (+1/-1) tests/unittests/test_vmware_config_file.py (+115/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
Scott Moser | Approve | ||
Review via email:
|
Commit message
VMWare: Fix a network config bug in vm with static IPv4 and no gateway.
The issue is when customize a VM with static IPv4 and without gateway, it
will still extend route list and will loop a gateways list which is None.
This fix is to make sure when no gateway is here, it will not extend route
list.
LP: #1766538
To post a comment you must log in.
Pengpeng,
This looks good, thank you.
I put together at test that shows failure.
Could you please incorporate it into your merge proposal?
I hope that it adds a fairly easy way to test the conversion.
You do not *have* to add any additional tests, but anything you
wanted to add would be greately appreciated.
Then I think we can get this merged.
Thanks.