Merge branch 'fix/vmware-gosc-fail-with-staticIP-and-no-gateway' of ssh://git.launchpad.net/~pengpengs/cloud-init into fix/vmware-gosc-fail-with-staticIP-and-no-gateway
Merge branch 'fix/vmware-gosc-fail-with-staticIP-and-no-gateway' of ssh://git.launchpad.net/~pengpengs/cloud-init into fix/vmware-gosc-fail-with-staticIP-and-no-gateway
Merge branch 'fix/vmware-gosc-fail-with-staticIP-and-no-gateway' of ssh://git.launchpad.net/~pengpengs/cloud-init into fix/vmware-gosc-fail-with-staticIP-and-no-gateway
Fix the issue that VMware guest customization fails with staticIPv4 and no gateway.
This fix checks if v4.gatways exists, will not add route when no gateway is here.
Add a new unittest in test_vmware_config_file.py.
Fix the issue that VMware guest customization fails with staticIPv4 and no gateway.
This fix checks if v4.gatways exists, will not add route when no gateway is here.
netplan: Correctly render macaddress on a bonds and bridges when provided.
When converting network config v1 to netplan, we were not correctly
rendering the 'macaddress' key on a bond. Not that the difference
in spelling between v1 'mac_address' and v2 'macaddress' is intentional.
Also fixed here is rendering of the macaddress for bridges.
tools: Add 'net-convert' subcommand command to 'cloud-init devel'.
Move the tools/net-convert.py to be exposed as part of 'cloud-init devel'
subcommands.
It can now be called like:
$ cloud-init devel net-convert
Or, if you just have checked out source (and no cli executable):
Bash and most other "bourne-like" shells allow declaring function
local variables via 'local'. ksh does not. Instead of using 'local'
always, use 'typeset' when the KSH_VERSION variable is present in
environment.