lp:~raharper/curtin/trunk.fix-ubuntu-core-network-config

Created by Ryan Harper and last modified
Get this branch:
bzr branch lp:~raharper/curtin/trunk.fix-ubuntu-core-network-config
Only Ryan Harper can upload to this branch. If you are Ryan Harper please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Ryan Harper
Project:
curtin
Status:
Merged

Recent revisions

491. By Ryan Harper

merge from trunk

490. By Ryan Harper

Add MTU in network config to force poke nplan

489. By Ryan Harper

uc16 curthooks: add 'network' key to config file

When deploing UC16 with a network config, ensure that we include the
top-level 'network' key for cloud-init to detect network configuration.

Update vmtest and unittest to exercise network path.

488. By Joshua Powers

vmtest: add in post-test log post-processing

Adds additional post-processing of logs using curtin-print-log to the
collected vmtest logs. Makes curting-print-log thread-safe and allows
it to accept an output directory.

487. By Joshua Powers

vmtest: update source.list test

The change that was made to the builtin /etc/apt/sources.list in the
cloud images for xenial was done so recently under bug LP: #1513529.
That was by design and required for consistency and this change updates
the curtin vmtest accordingly.

LP: #1682516

486. By Scott Moser

add recursive flag to do_umount, add --umount to block-meta

This adds a 'recursive' argument to util.do_umount, and utilizes
it from install.py. The basic idea of do_umount with recursive
is to walk through /proc/mounts in reverse and unmount anything
mounted under the provided mountpoint (or the mountpoint itself).

Also added here is use of that function from block-meta command.
We add a flag --umount to unmount filesystems at its end.

485. By Scott Moser

load_command_environment: fix strict flag, and unit tests.

The strict=True option to load_command_environment was broken.
Instead of checking for the expected environment variables in the
environment, it would check the state names.

484. By Ryan Harper

block_meta: Attempt to mount by UUID= if possible

When generating fstab entries in mount_handler prefer UUID if the
underlying volume has an identifiable UUID available.

Update vmtests to check by UUID in test_basic.

Fixes LP:#1676991

483. By Scott Moser

Make systems with root on bcache use root=UUID=.

Systems with root on bcache would end up booting with root=/dev/bcache0
(or bcache1). Bcache device names are not guaranteed, so this could
cause issues.

The fix is to invoke 'udevadm trigger' after creating a filesystem on
a bcache device. That will populate /dev/disk/by-uuid, which will
cause grub to properly decide to boot by root=UUID=.

482. By Nish Aravamudan

Fix iscsi disks that have a ':' in the target name.

The regular expression we have now incorrectly allows ':' in IPv4
addresses and hostnames, rather than only IPv6 addresses. This ends up as
an inability to use ':' in target names (common and supported), because we
greedily consume the prefix (host) and suffix (target).

In order to fix this, we need to require that IPv6 addresses are enclosed
in [], so we can disambiguate them from hostnames and IPv4 addresses which
have different validation.

Fix the regex and add a unittest for this case.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~curtin-dev/curtin/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers