BOOTSTRAP-VZ(1) | General Commands Manual | BOOTSTRAP-VZ(1) |
bootstrap-vz - program is creating Debian images to be run in cloud environments like Amazons EC2, OpenStack, Google Cloud Compute and other which are sharing API with those
bootstrap-vz [options] MANIFEST
bootstrap-vz is written in python which can be fairly easily customised if needed. Whole configuration for the final image is provided by json manifest [MANIFEST]. Manifest available options are explained below in MANIFEST section, if there is information which is lacking please file a bug against bootstrap-vz package (patches always welcome).
bootstrap-vz must be run from within AWS instance to create Debian image.
Default user to log into created image is: root
Manifest is a yaml file providing final image specification,
standard yaml rules apply to it and the following fields should or may be
used (depending on final image type).
Below are describe specific fields and fields within sections, all should be
in strict yaml format put into manifest file.
provider- [kvm|ec2|gce|virtualbox|azure] targeted platform
where final image produced by bootstrap-vz is going to be used
bootstrapper
image
system (OS details)
volume (virtual HDD setup)
plugins (plugins available, for specific options for each plugin please look into individual plugin documentation)
credentials (AWS specific entries)
---
provider:
name: ec2
virtualization: hvm
enhanced_networking: simple
credentials:
access-key: AFAKEACCESSKEYFORAWS
secret-key: thes3cr3tkeyf0ryourawsaccount/FS4d8Qdva bootstrapper:
workspace: /target image:
name: debian-{system.release}-{system.architecture}-{provider.virtualization}-{%Y}-{%m}-{%d}-ebs
description: Debian {system.release} {system.architecture} system:
release: wheezy
architecture: amd64
bootloader: extlinux
charmap: UTF-8
locale: en_US
timezone: UTC volume:
backing: ebs
partitions:
type: none
root:
filesystem: ext4
size: 8GiB packages:
mirror: http://httpredir.debian.org/debian plugins:
cloud_init:
metadata_sources: Ec2
username: admin
Example manifests can be found in /usr/share/doc/bootstrap-vz/examples/manifests more manifests specific information can be found in bootstrap-vz(3) or online docs at http://bootstrap-vz.readthedocs.org/en/master/
Marcin Kulisz <debian@kulisz.net>
debootstrap(1), bootstrap-vz(3), bootstrap-vz-remote(1), bootstrap-vz-server(1)
June 2, 2014 |