diskimage-builder/doc/source/developer/components.rst
Antoine Musso 8d052a54a7 Turn docs warnings into errors and fix issues
Set the pbr option 'warnerrors' to make build_sphinx turns warnings into
error. Fix all warnings.

`tox -edocs` will thus abort whenever someone introduce a new error.

Change-Id: Id6d09768a241866e1fdc1a1e2bf90336f5c5087d
2015-04-27 15:03:19 +00:00

1.4 KiB

Components

disk-image-create [-a i386|amd64|armhf] -o filename {element} [{element} ...]

Create an image of element {element}, optionally mixing in other elements. Element dependencies are automatically included. Support for other architectures depends on your environment being able to run binaries of that platform. For instance, to enable armhf on Ubuntu install the qemu-user-static package. The default output format from disk-image-create is qcow2. To instead output a tarball pass in "-t tar". This tarball could then be used as an image for a linux container(see docs/docker.md).

ramdisk-image-create -o filename {element} [{element} ...]

Create a kernel+ ramdisk pair for running maintenance on bare metal machines (deployment, inventory, burnin etc).

To generate kernel+ramdisk pair for use with nova-baremetal, use:

ramdisk-image-create -o deploy.ramdisk deploy-baremetal

To generate kernel+ramdisk pair for use with ironic, use:

ramdisk-image-create -o deploy.ramdisk deploy-ironic

disk-image-get-kernel filename

DEPRECATED Extract the appropriate kernel and ramdisk to use when doing PXE boot using filename as the image for a machine. Consider using the element-baremetal element, rather than this tool.

element-info

Extract information about elements.

elements can be found in the top level elements directory.