1
.TH build\-openstack\-debian\-image 1
3
build\-openstack\-debian\-image \- build a Debian image to be used with OpenStack
5
.B build\-openstack\-debian\-image
6
.B \-\-release|\-r <jessie|wheezy>
12
.I build\-openstack\-debian\-image
13
shell script will build a Debian image which can be used in an OpenStack IaaS
14
cloud. The resulting (Qcow2 and raw images) contains initramfs\-growroot so
15
that the root partition will be resized (during the initramfs phase, before
16
mouting anything) to match the flavor selected when using "nova boot". Later on
17
during the boot process, cloud\-init will resize the root partition on the fly
18
(resize is performed when the partition is already mounted read\-write, since
19
recent kernel allow that for ext3).
21
Cloud\-init is setup to use an Ec2 metadata server, which is what OpenStack is
22
compatible with. A "debian" user will be used to receive the ssh key from the
23
user data blob. This user is setup without a password (eg: adduser
24
\-\-disabled\-password). Once logged as this "debian" user in your new virtual
25
machine, you can "sudo" to root from that user, without needing a password. The
26
root password is "password" by default, and ssh into the root user without
27
using an ssh keypair is disabled by default (PermitRootLogin without-password
28
is set in /etc/ssh/sshd_config).
39
name to be installed. Currently only 2 values a possible:
47
.B \-\-debootstrap\-url|\-u
48
.I http://<debian\-mirror>/debian
53
of the Debian mirror to use to perform the debootstrap. For example:
54
.I http://ftp.fr.debian.org/debian
60
Without this option, the following packages will also be installed:
61
bash\-completion (and /etc/bash.bashrc will be setup to use bash\-completion),
62
joe (the text editor), most, GNU screen, less and vim. If you believe that
63
more things should be added in the non\-minimal image, suggestions are
68
build\-openstack\-debian\-image has been written by Thomas Goirand