~mwhudson/curtin:lvm_partition-integer-size

Last commit made on 2019-04-04
Get this branch:
git clone -b lvm_partition-integer-size https://git.launchpad.net/~mwhudson/curtin
Only Michael Hudson-Doyle can upload to this branch. If you are Michael Hudson-Doyle please log in for upload directions.

Branch merges

Branch information

Name:
lvm_partition-integer-size
Repository:
lp:~mwhudson/curtin

Recent commits

0d2a36a... by Michael Hudson-Doyle

address review comments

1. add unit test
2. be more consistent in using " vs ' for strings

4067e46... by Michael Hudson-Doyle

pass lvm_partition size through human2bytes

The schema says that this command accepts an integer but it currently
does not.

250af68... by Ryan Harper

add subcommand schema for storage-config validation

Introduce curtin feature 'STORAGE_CONFIG_SCHEMA' and a subcommand,
'schema' which accepts a path to a storage configuration file and
will validate the configuration against the storage schema.

Add some exception handling logic to decode the schema errors and
print useful pointers to users on where the error occurred.

ea9fcbb... by Ryan Harper

clear-holders: wipe raid members at data offsets when not assembled

RAID5 arrays are assembled in degraded mode for speed[1]. If an
array is INACTIVE, then curtin cannot wipe the array through the
md device. Instead, examine the array members and find the mdadm
superblock and data offsets and wipe members at those locations.
This wipes the array contents without requiring it to be runnable.

LP: #1815018

f722ef6... by Ryan Harper

Add support for s390 DASD devices

d15f5b5... by Ryan Harper

vmtest: skip DiscoTestAllindata while initrd lacks crypto modules

428ee61... by Michael Hudson-Doyle

block_meta: allow passing a dm_crypt key by keyfile

Update dm_crypt handler to accept 'keyfile' in addition to 'key' for
configuring crypt device passphrase.

0dc7716... by Ryan Harper

ChrootableTarget: add /run to mounts for redhat targets

Recent updates to redhat target images appear to require
/run to be mounted. Update ChrootableTarget to allow callers
to specify a list of mounts needed. In curthooks.setup_grub
if target is redhat, then ensure that /run is in the list.

LP: #1815666

1a27125... by Ryan Harper

vmtest: consolidate vm mem config, defaults via release, env override

vmtest has a few hard-coded places which specify vm ram size of 1G.
Consolidate this configuration and allow the environment to override
the value as needed. Finally, set the default vm ram size in the the
releases and tune Disco release to 2048.

7afd77f... by Jean-Baptiste Lallement

Support for multi-layers images fsimage-layered:// URI

Curtin can now download and mount a layered filesystem image for use
as a source image. Local file or url are supported. Filesystem can be
any filesystem type mountable by the running kernel.

A "fsimage-layered" install source is a string representing one or
more mountable images from a single local or remote directory. The
string is dot-separated where each value between the dots represents a
particular image and the location of the name within the string
encodes the order in which it is to be mounted. The resulting list of
images are downloaded (if needed) then mounted and overlayed into a
single directory which is used as the source for installation.

See documentation for further details.