~pengpengs/cloud-init:fix/vmware-gosc-fail-with-staticIP-and-no-gateway

Last commit made on 2018-08-24
Get this branch:
git clone -b fix/vmware-gosc-fail-with-staticIP-and-no-gateway https://git.launchpad.net/~pengpengs/cloud-init
Only Pengpeng Sun can upload to this branch. If you are Pengpeng Sun please log in for upload directions.

Branch merges

Branch information

Name:
fix/vmware-gosc-fail-with-staticIP-and-no-gateway
Repository:
lp:~pengpengs/cloud-init

Recent commits

efc50d3... by Pengpeng Sun

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

14b0155... by Pengpeng Sun

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

82646d6... by Pengpeng Sun

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

ff3be97... by Pengpeng Sun

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.

c3dc6ec... by Pengpeng Sun

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.

f624927... by Wesley Gao

docs: Fix example cloud-init analyze command to match output.

Fix a typo in in documentation that showed 'analyze blame' but
intended to show 'analyze dump'.

41f508d... by Scott Moser

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.

LP: #1784699

a6f95c7... by Scott Moser

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):

  $ python3 -m cloudinit.cmd.devel.net_convert
or
  $ python3 -m cloudinit.cmd.main devel net-convert

e218c59... by Scott Moser

redhat: remove ssh keys on new instance.

This changes redhat's default behavior to remove the ssh keys on
new instance (ssh_deletekeys will now be at its default true value).

On redhat systems, cloud-init.service has both:
  Wants=sshd-keygen.service
  Before=sshd-keygen.serviceh

Which is why 'ssh_genkeytypes' is set to None
(yaml '~' == yaml null == python none).

I've changed that to be null as it seems more clear and we do not
use the tilda anywhere else in configs.

LP: #1781094
rhbz: https://bugzilla.redhat.com/show_bug.cgi?id=1598832

538af8e... by Scott Moser

Use typeset or local in profile.d scripts.

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.

LP: #1784713