2015-02-12 16:09:04 +00:00
|
|
|
Components
|
|
|
|
==========
|
2015-02-12 07:07:47 +00:00
|
|
|
|
2015-02-12 16:09:04 +00:00
|
|
|
`disk-image-create [-a i386|amd64|armhf] -o filename {element} [{element} ...]`
|
2015-02-12 07:07:47 +00:00
|
|
|
|
2015-02-12 16:09:04 +00:00
|
|
|
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).
|
2015-02-12 07:07:47 +00:00
|
|
|
|
2015-02-12 16:09:04 +00:00
|
|
|
`ramdisk-image-create -o filename {element} [{element} ...]`
|
2015-02-12 07:07:47 +00:00
|
|
|
|
2015-02-12 16:09:04 +00:00
|
|
|
Create a kernel+ ramdisk pair for running maintenance on bare metal
|
|
|
|
machines (deployment, inventory, burnin etc).
|
2015-02-12 07:07:47 +00:00
|
|
|
|
2015-02-12 16:09:04 +00:00
|
|
|
To generate kernel+ramdisk pair for use with nova-baremetal, use::
|
2015-02-12 07:07:47 +00:00
|
|
|
|
2015-02-12 16:09:04 +00:00
|
|
|
ramdisk-image-create -o deploy.ramdisk deploy-baremetal
|
2015-02-12 07:07:47 +00:00
|
|
|
|
2015-02-12 16:09:04 +00:00
|
|
|
To generate kernel+ramdisk pair for use with ironic, use::
|
|
|
|
|
2017-01-03 23:34:13 +00:00
|
|
|
ramdisk-image-create -o deploy.ramdisk ironic-agent
|
2015-02-12 16:09:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
`element-info`
|
|
|
|
|
|
|
|
Extract information about elements.
|
|
|
|
|
2015-06-18 09:24:13 +00:00
|
|
|
`tests/run_functests.sh`
|
|
|
|
|
|
|
|
This runs a set of functional tests for diskimage-builder.
|
|
|
|
|
2015-02-12 16:09:04 +00:00
|
|
|
elements can be found in the top level elements directory.
|