~raharper/curtin:fix/netdps-maas-2.6

Last commit made on 2019-08-02
Get this branch:
git clone -b fix/netdps-maas-2.6 https://git.launchpad.net/~raharper/curtin
Only Ryan Harper can upload to this branch. If you are Ryan Harper please log in for upload directions.

Branch merges

Branch information

Name:
fix/netdps-maas-2.6
Repository:
lp:~raharper/curtin

Recent commits

7daaefd... by Ryan Harper

Skip test_ip_output as well

b124ad8... by Ryan Harper

Only test v2 network installed packages in target

f5cbd91... by Ryan Harper

Rework network v2 deps to ensure target has require packages

8484763... by Ryan Harper

unittests: mock subp in ChrootableTarget _exit_ test cases

9bc9136... by Ryan Harper

util.ChrootableTarget: skip rename of resolv.conf if not present in target

A target OS may not include an /etc/resolv.conf. ChrootableTarget attempts
to move the in-chroot resolv.conf out of the way and copy in the host
resolv.conf. If the target image does not have /etc/resolv.conf then we
fail when we call os.rename. Avoid this error by only invoking the
rename if the target image has a resolv.conf.

LP: #1834382

12e4123... by Ryan Harper

Release 19.2

Bump the version in curtin/__init__.py to be 19.2.

LP: #1836951

2161494... by Michael Hudson-Doyle

storage_config: a missing ID_PART_TABLE_TYPE key means no ptable

Defaulting to gpt in this case causes LP: #1835087

231cfca... by Dan Watkins

vmtests: drop skip_by_date decorators for bug 1813228

These are now passing, so we no longer need to skip them.

77b9cee... by Ryan Harper

block: Add opportunistic zkey encryption if supported

On s390x, systems with a crypto accelerator may be present
and enabled for sure. When handling a type: dm_crypt block
configuration, curtin will test if zkey is available and if
so, use the zkey command to generate keys and encrypt the
block device using zkey-based secrets.

In the case that zkey is not available, curtin will fallback
to using normal cryptsetup.

7c8c5d2... by Dan Watkins

vmtests: add support for CURTIN_VMTEST_APT_PROXY

This has the same behaviour as apt_proxy, but allows developers to
override it globally without affecting other applications. apt_proxy
will continue to work, but CURTIN_VMTEST_APT_PROXY will be preferred if
it is present in the environment.

(This change is applied to both the Python vmtests code, and to the
tools/launch shell script.)