Update doc to have 'debootstrap' dep and describe minimal
Update the doc, that explains how to use disk-image-builder to create an image, to have an additional dependency on 'debootstrap' Also remove DISTRO= line from example as it was confusing and would make people not build the ubuntu-minimal image. Add a little info on the -minimal build types. Change-Id: I8a7393a9c71ef503a730e4442941996eab43da6b
This commit is contained in:
parent
3c0b529dfa
commit
14e7cb3eb2
@ -12,7 +12,7 @@ Install the dependencies:
|
||||
|
||||
::
|
||||
|
||||
sudo apt-get install kpartx qemu-utils curl python-yaml
|
||||
sudo apt-get install kpartx qemu-utils curl python-yaml debootstrap
|
||||
|
||||
Install diskimage-builder:
|
||||
|
||||
@ -28,11 +28,14 @@ Building an image is simple, we have a script!
|
||||
|
||||
::
|
||||
|
||||
DISTRO="ubuntu" bash tools/build-image.sh
|
||||
bash tools/build-image.sh
|
||||
|
||||
See the script for environment variables to set distribution, etc.
|
||||
You should be left with a .qcow2 image file of your selected
|
||||
distribution.
|
||||
See the script for environment variables to set distribution, etc. By default
|
||||
it builds an ubuntu-minimal based image. You should be left with a .qcow2
|
||||
image file of your selected distribution.
|
||||
|
||||
Infra uses the -minimal build type for building Ubuntu/CentOS/Fedora. For
|
||||
example: ubuntu-minimal.
|
||||
|
||||
It is a good idea to set ``TMP_DIR`` to somewhere with plenty of space
|
||||
to avoid the disappointment of a full-disk mid-way through the script
|
||||
|
Loading…
Reference in New Issue
Block a user