2014-02-03 17:37:36 +01:00
|
|
|
bootstrap-vz
|
2013-07-08 01:15:07 +02:00
|
|
|
===========================================
|
|
|
|
|
2014-02-03 17:37:36 +01:00
|
|
|
bootstrap-vz is a fully automated bootstrapping tool for Debian.
|
|
|
|
It creates images for various virtualized platforms (at the moment: kvm, virtualbox, ec2).
|
|
|
|
The plugin architecture allows for heavy modification of standard behavior
|
|
|
|
(e.g. create a vagrant box, apply puppet manifests, run custom shell commands).
|
2013-07-08 01:15:07 +02:00
|
|
|
|
2014-02-03 17:37:36 +01:00
|
|
|
At no time is the resulting image booted, meaning there are no latent logfiles
|
|
|
|
or bash_history files.
|
|
|
|
|
|
|
|
The bootstrapper runs on a single json manifest file which contains all configurable
|
|
|
|
parameters. This allows you to recreate the image whenever you like so you can create
|
|
|
|
an updated version of an existing image or create the same image in multiple EC2 regions.
|
2013-07-08 01:15:07 +02:00
|
|
|
|
|
|
|
Dependencies
|
|
|
|
------------
|
2013-07-14 23:16:37 +02:00
|
|
|
You will need to run debian wheezy with **python 2.7** and **debootstrap** installed.
|
2013-09-15 22:57:25 +02:00
|
|
|
Other depencies include:
|
|
|
|
* qemu-utils
|
|
|
|
* parted
|
|
|
|
* grub2
|
|
|
|
* euca2ools
|
|
|
|
* xfsprogs (If you want to use XFS as a filesystem)
|
2013-07-08 01:15:07 +02:00
|
|
|
Also the following python libraries are required:
|
2014-02-21 14:16:41 +11:00
|
|
|
* **boto** ([version 2.14.0 or higher](https://github.com/boto/boto))
|
2013-12-15 08:27:04 +01:00
|
|
|
* **jsonschema** ([version 2.0.0](https://pypi.python.org/pypi/jsonschema), only available through pip)
|
2013-07-14 23:16:37 +02:00
|
|
|
* **termcolor**
|
2013-09-15 22:57:25 +02:00
|
|
|
* **fysom**
|
2013-07-14 23:16:37 +02:00
|
|
|
|
|
|
|
Bootstrapping instance store AMIs requires **euca2ools** to be installed.
|