lp:~smoser/curtin/trunk.pylint-1.7

Created by Scott Moser and last modified
Get this branch:
bzr branch lp:~smoser/curtin/trunk.pylint-1.7
Only Scott Moser can upload to this branch. If you are Scott Moser please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Scott Moser
Project:
curtin
Status:
Merged

Recent revisions

550. By Scott Moser

tox: move to pylint 1.7.4

Update the pylint version used in tox from 1.5.4 to 1.7.4.
The primary gain from this is the ability to run with python3.6.
 https://github.com/PyCQA/pylint/issues/1113

549. By Scott Moser

vmtests: iscsi minor cleanup.

This does 2 things.
a.) move the building of a rfc4173 string into a function.
b.) replace usage of 'uuidgen' with python standard library 'uuid'

548. By Ryan Harper

vmtests: exercise rootfs over an lvm logical volume

- modify mkfs to handle key=value parameter replacement for mkfs.xfs to
  control the uuid value of the filesystem
- Allow templating of the lvmroot yamls to specify different rootfs format
  types. This allow for testing with multiple fstypes without duplicating
  input yaml
- Fix a lurking CURTIN_REUSE_TOPDIR=1 bug under uefi mode where we attempt
  to rewrite grub.conf always
- Add a specific uefi_lvmroot configuration to match user issue from
  Bug #1731490
- Update vgcreate, lvcreate invocations to zero and wipe target devices
  and volumes where possible (> trusty) which eliminates the scary
  warning about detecting filesystem signatures on lv creation.

547. By Ryan Harper

Switch network dep filter to test for ifupdown/nplan instead of release name

Curtin will install some additional packages in-target depending on the
configuration. For example, if the curtin config includes bridges,
then it will ensure that bridge-utils is installed. These deps are
valid for releases using ifupdown. In Artful and newer (Bionic) netplan
is used instead and these tools are not needed.

This patch changes a release based check to a package install check.
If a system does not have ifupdown and also has netplan (nplan package)
then it will NOT install any ifupdown related deps (bridge-utils, vlan,
ifenslave).

546. By Ryan Harper

Allow control of curtin install unmounting

A Curtin install always unmounts the target. In the subiquity use-case
they would like to support a) if something goes wrong give a shell to
the user to poke around in the target b) skip unmounting automatically
to allow writing of additional files in the target without re-invoking
curtin c) control where curtin mounts up storage devices.

This branch adds two fields to the curtin 'install' config key: The
'target' value is a path that will be used instead of a temporary
directory. The 'unmount' key if found to be present and has the value
of 'disabled' then curtin install will skip the unmount operation.

Additionally to aid in unmounting a target outside of the install
subcommand this branch introduces a curtin 'unmount' subcommand which
takes two params: the 'target' path to the mount point, the default
'target' value is to use the TARGET_MOUNT_POINT environment variable.
Curtin will by default do unmounts in a recursive manner meaning any
directory mounted underneath the target will also be unmounted. A user
may supply '--disable-recursive-mounts' as a flag which will disable
the recursion resulting in a single unmount operation.

545. By Scott Moser

vmtests: Add Bionic release to tests and update classes.

544. By Ryan Harper

storage: add 'options' key mount type to specify mount parameters for filesystems

Add support, documentation, unittests and vmtests to deliver a new parameter to
the mount configuration dictionary. This parameter if set will modify the the
mount options field in the rendered /etc/fstab.

LP: #1709284

543. By Ryan Harper

Re-add curthooks.write_files method for backwards compat

In revno 512, curthooks.write_files() was re-implemented under
curtin.futil.write_files and supports the original dictionary
format as well as other modes. This broke legacy images which used
hooks that invoked curthooks.write_files. This branch restores
the function and behavior while utilizing the change in implementation.

- Add warning when legacy path is called pointing to new module location
- Add unittests to exercise the code path.

LP: #1731709

542. By Scott Moser

vmtest: Remove ArtfulTestBridging skip_by_date check, bug fixed

Bug 1721157 is now fixed, so do not need to skip by date anymore.

541. By Ryan Harper

Drop Precise from vmtest

It's dead Jim (Precise is EOL)

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