lp:~raharper/curtin/trunk.fix-ubuntu-core-network-config
- Get this branch:
- bzr branch lp:~raharper/curtin/trunk.fix-ubuntu-core-network-config
Branch merges
- Scott Moser (community): Approve
- Server Team CI bot: Approve (continuous-integration)
- Lee Trager (community): Needs Fixing
-
Diff: 65 lines (+34/-2)3 files modifiedcurtin/commands/curthooks.py (+1/-1)
examples/tests/ubuntu_core.yaml (+32/-0)
tests/unittests/test_curthooks.py (+1/-1)
Related bugs
Bug #1685000: curtin network config ignored on UC16 images | High | Fix Released |
Related blueprints
Branch information
Recent revisions
- 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