bootstrap-vz/bootstrapvz/common/tasks
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
..
__init__.py Systematically use rel_path for relative paths 2016-09-12 19:11:20 +02:00
apt.py Fixes to create stretch images. Add stretch manifest for GCE. 2017-01-10 13:30:31 -08:00
boot.py Convert indentation from tabs to spaces (4) 2016-06-04 11:38:16 +02:00
bootstrap.py Moving host_dependencies tasks to the validation phase 2016-09-12 01:12:19 +02:00
cleanup.py Convert indentation from tabs to spaces (4) 2016-06-04 11:38:16 +02:00
development.py Convert indentation from tabs to spaces (4) 2016-06-04 11:38:16 +02:00
extlinux.py Convert indentation from tabs to spaces (4) 2016-06-04 11:38:16 +02:00
filesystem.py type is never going to be a partition 2017-02-04 16:15:24 +01:00
folder.py Convert indentation from tabs to spaces (4) 2016-06-04 11:38:16 +02:00
grub.py grub: Prettier type checking when writing grub defaults 2016-06-05 13:20:34 +02:00
host.py Moving checking tasks to the validation phase 2016-09-12 00:52:10 +02:00
image.py Convert indentation from tabs to spaces (4) 2016-06-04 11:38:16 +02:00
initd.py Stretch (9.0) patch #3 - EC2: fixing insserv & + 2016-09-24 19:03:28 +01:00
kernel.py Move some package adding tasks into the preparation phase 2017-04-15 10:01:27 +02:00
locale.py Convert indentation from tabs to spaces (4) 2016-06-04 11:38:16 +02:00
logicalvolume.py Add LVM as a disk backend 2017-06-08 17:05:48 +02:00
loopback.py Moving host_dependencies tasks to the validation phase 2016-09-12 01:12:19 +02:00
network-configuration.yml Add lo to jessie network config 2016-06-04 19:23:59 +02:00
network.py Systematically use rel_path for relative paths 2016-09-12 19:11:20 +02:00
packages.py Convert indentation from tabs to spaces (4) 2016-06-04 11:38:16 +02:00
partitioning.py Moving host_dependencies tasks to the validation phase 2016-09-12 01:12:19 +02:00
security.py Convert indentation from tabs to spaces (4) 2016-06-04 11:38:16 +02:00
ssh.py Fix bug in Stretch builds. sshd_config no longer contains 2017-03-28 20:24:41 +02:00
volume.py Convert indentation from tabs to spaces (4) 2016-06-04 11:38:16 +02:00
workspace.py Convert indentation from tabs to spaces (4) 2016-06-04 11:38:16 +02:00