bootstrap-vz/bootstrapvz/common
Brendan Harley 511a44f72e Add LVM as a disk backend
Enables the use of Logical Volumes as disk backends.

It uses an existing volume group and has no support for creating a new one.
It will not override an existing logical volume and fail gracefully.

The lv is created, activated and then mounted as a loop device.
The boostraping process is then launched on the loop device.
Once the process is completed, the lv is unmounted and desactivated.

The created lv will be deleted should the boostraping process fail.

The lv must be activated before use.

A manifest has been included for testing purposes.
2017-06-08 17:05:48 +02:00
..
assets Overhaul GCE image build. 2016-06-02 18:16:57 -07:00
fs Add LVM as a disk backend 2017-06-08 17:05:48 +02:00
tasks Add LVM as a disk backend 2017-06-08 17:05:48 +02:00
__init__.py PEP8 fixes 2014-04-27 11:05:53 -03:00
bytes.py Convert indentation from tabs to spaces (4) 2016-06-04 11:38:16 +02:00
exceptions.py Convert indentation from tabs to spaces (4) 2016-06-04 11:38:16 +02:00
fsm_proxy.py Convert indentation from tabs to spaces (4) 2016-06-04 11:38:16 +02:00
minify_json.py Move code into proper package folder 2014-04-02 21:26:13 +02:00
phases.py common: Add a validation phase 2016-09-11 22:05:22 +02:00
releases.py Convert indentation from tabs to spaces (4) 2016-06-04 11:38:16 +02:00
sectors.py Convert indentation from tabs to spaces (4) 2016-06-04 11:38:16 +02:00
task_groups.py Add handling for addtitional partitions 2016-12-10 16:11:58 +01:00
tools.py common.tools: Make rel_path normalize the path 2016-09-12 18:15:56 +02:00