bootstrap-vz/bootstrapvz/plugins/prebootstrapped
Anders Ingemann 411578a498 *Always* use link_dm_node() when install grub 1.99
Grub install fails when in a chrooted environment,
it has nothing to do with the volume being a loopback volume
2015-04-16 22:22:47 +02:00
..
__init__.py Simpler check for whether to create image or use image in prebootstrapped plugin 2015-04-16 22:21:42 +02:00
manifest-schema.yml Convert every JSON file to YAML 2014-07-09 23:17:04 +02:00
README.rst Combine documentation from github wiki with sphinx 2015-04-11 16:40:44 +02:00
tasks.py *Always* use link_dm_node() when install grub 1.99 2015-04-16 22:22:47 +02:00

prebootstrapped
---------------

When developing for bootstrap-vz, testing can be quite tedious since the
bootstrapping process can take a while. The prebootstrapped plugin
solves that problem by creating a snapshot of your volume right after
all the software has been installed. The next time bootstrap-vz is run,
the plugin replaces all volume preparation and bootstrapping tasks and
recreates the volume from the snapshot instead.

The plugin assumes that the users knows what he is doing (e.g. it
doesn't check whether bootstrap-vz is being run with a partitioned
volume configuration, while the snapshot is unpartitioned).

When no snapshot or image is specified the plugin creates one and
outputs its ID/path. Specifying an ID/path enables the second mode of
operation which recreates the volume from the specified snapshot instead
of creating it from scratch.

Settings
~~~~~~~~

-  ``snapshot``: ID of the EBS snapshot to use. This setting only works
   with EBS backed EC2 configurations.
-  ``image``: Path to the loopbackvolume snapshot. This setting works
   with all configurable volume backings except EBS.