~raharper/curtin:fix/lp1786736-meta-simple-clear-holders

Last commit made on 2018-11-16
Get this branch:
git clone -b fix/lp1786736-meta-simple-clear-holders 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/lp1786736-meta-simple-clear-holders
Repository:
lp:~raharper/curtin

Recent commits

dccc562... by Ryan Harper

vmtests: add docstrings to test_simple classes

c17ce89... by Ryan Harper

block_meta: report mode via LOG.info

89d68fe... by Ryan Harper

unittest: fix blockmeta unittest after --force-mode param change

7e044d2... by Ryan Harper

drop remaining blockmeta_mode class attributes that aren't used

371856b... by Ryan Harper

Add docstrings to blockmeta new functions

b3b8b0a... by Ryan Harper

blockmeta: use --force-mode instead of --force

b08de98... by Ryan Harper

Remove extra parens and combine lines.

de65b99... by Ryan Harper

block_meta: refactor clearing to main loop, add --force parameter

Refactor clearing disks into the main function and run clear-holders
before we run meta_simple or meta_custom. Ensure we continue to
use the presence of dd_images, or custom storage config to trigger
either meta_simple, or meta_custom respectively. Introduce a new
parameter, --force, which will disable the "detection" of mode via
dd_images or if storage-config is present. This allows users to
force a specific mode of block-meta if needed. vmtest utilizes this
to force a meta_simple with storage-config as a test-case.

0bbff7f... by Ryan Harper

block_meta: refactor meta_clear to be called on args.devices or storage config disks

8366aff... by Ryan Harper

Fix has_storage_config check, array size > 0 means we have a config