~goneri/cloud-init:build-on-freebsd

Last commit made on 2019-04-20
Get this branch:
git clone -b build-on-freebsd https://git.launchpad.net/~goneri/cloud-init
Only Gonéri Le Bouder can upload to this branch. If you are Gonéri Le Bouder please log in for upload directions.

Branch merges

Branch information

Name:
build-on-freebsd
Repository:
lp:~goneri/cloud-init

Recent commits

d69f150... by Gonéri Le Bouder

freebsd: build-on-freebsd to install py27-jsonschema

jsonschema is also a dependency and is available in pkg repository.

1d938ad... by Gonéri Le Bouder

freebsd: specify python2.7 to avoid any conflict with Python3

In the very last snapshot of FreeBSD 12 VM-IMAGES[1], /usr/local/bin/python
is actually Python 3.6.

[1]: http://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/12.0-STABLE/amd64/

421757e... by Gonéri Le Bouder

freebsd: add chpasswd pkg in the image

cc_set_passwords.py depends on chpasswd binary.

69251d5... by Dan Watkins

packages: update rpm specs for new bash completion path

LP: #1825444

c8c3251... by "Jason Zions (MSFT)" <email address hidden>

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

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

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

cc_apt_configure: fix typo in apt documentation

6322c2d... by Dan Watkins

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.

b76714c... by Risto Oikarinen <email address hidden>

Change DataSourceNoCloud to ignore file system label's case.

NoCloud data source now accepts both 'cidata' and 'CIDATA'
as filesystem labels. This is similar to DataSourceConfigDrive's
support for 'config-2' and 'CONFIG-2'.