Last commit made on 2019-09-09
Get this branch:
git clone -b xiaofengw-user-defined-script https://git.launchpad.net/~xiaofengw/cloud-init
Only Xiaofeng Wang can upload to this branch. If you are Xiaofeng Wang please log in for upload directions.

Branch merges

Branch information


Recent commits

35d5d4c... by Xiaofeng Wang on 2019-08-01

Add the vmware-toolbox-cmd into allowed_subp command other than
set the allowed_subp to True.O
 Changes to be committed:
 modified: tests/unittests/test_datasource/test_ovf.py

0ed0d32... by Xiaofeng Wang on 2019-06-20

add unit tests for the custom script option

9a7c180... by Xiaofeng Wang on 2019-05-24

VMWware: add option into VMTools configuration to enable/disable custom script.

VMWware customization has already support to run a custom script during the VM customization.
We add this option so that VM administrator could prevent custom script to run, then the
customization will fail and customization status is set to GUESTCUST_ERROR_SCRIPT_DISABLED.

5de83fc... by Ryan Harper on 2019-04-22

net/sysconfig: only indicate available on known sysconfig distros

Restrict the sysconfig renderer availabily to known distros.
Ubuntu/Debian systems may include network-manager but they do
not have support for reading sysconfig network output; that is
enabled via a Network-Manager plugin: ifcfg-rh which is not
available in Ubuntu/Debian.

LP: #1819994

69251d5... by Dan Watkins on 2019-04-19

packages: update rpm specs for new bash completion path

LP: #1825444

c8c3251... by "Jason Zions \(MSFT\)" <email address hidden> on 2019-04-18

test_azure: mock util.SeLinuxGuard where needed

Mock util.SeLinuxGuard to do nothing within tests that mock functions
used by the guard, when those mocks confuse the guard. This has no
impact when executing unit tests on systems which do not enable selinux
(e.g. Ubuntu).

LP: #1825253

947d3c2... by Dan Watkins on 2019-04-18

setup.py: install bash completion script in new location

Per lintian, this is the path at which bash completion scripts should
now be installed.

937555f... by Gonéri Le Bouder on 2019-04-18

mount_cb: do not pass sync and rw options to mount

On FreeBSD, mount_cd9660 does not accept the sync option that is enabled
by default. In addition, the sync is only useful with the `rw` mode.
However the `rw` mode was never used.

This patch removes the `rw` and `sync` parameter of `mount_cb` to
simplify the code base and resolve the FreeBSD issue.

LP: #1645824

9fc682c... by do3meli on 2019-04-17

cc_apt_configure: fix typo in apt documentation

6322c2d... by Dan Watkins on 2019-04-10

Revert "DataSource: move update_events from a class to an instance..."

Moving update_events from a class attribute to an instance attribute
means that it doesn't exist on DataSource objects that are unpickled,
causing tracebacks on cloud-init upgrade.

As this change is only required for cloud-init installations which don't
utilise ds-identify, we're backing it out to be reintroduced once the
upgrade path bug has been addressed.

This reverts commit f2fd6eac4407e60d0e98826ab03847dda4cde138.