2015-02-07 10:30:02 +00:00
|
|
|
==============
|
|
|
|
ubuntu-minimal
|
|
|
|
==============
|
2015-03-13 04:22:12 +00:00
|
|
|
|
2017-01-17 19:59:16 +00:00
|
|
|
The ``ubuntu-minimal`` element uses debootstrap for generating a
|
|
|
|
minimal image. In contrast the ``ubuntu`` element uses the cloud-image
|
|
|
|
as the initial base.
|
|
|
|
|
2021-08-27 05:22:08 +00:00
|
|
|
.. note::
|
|
|
|
|
|
|
|
You will need to install a working debootstrap for diskimage-builder. The
|
|
|
|
version you install may not support all Debian and Ubuntu releases that you
|
|
|
|
want to bootstrap. Consider using the zuul/nodepool-builder docker image
|
|
|
|
instead as maximum compatibility is attempted there.
|
|
|
|
|
|
|
|
By default this element creates the latest LTS release. The exact setting can
|
|
|
|
be found in the `ubuntu-common <https://docs.openstack.org/diskimage-builder/latest/elements/ubuntu-common/README.html>`_
|
|
|
|
element's ``environment.d`` directory in the variable ``DIB_RELEASE``. If a
|
|
|
|
different release of Ubuntu should be created, the variable ``DIB_RELEASE`` can
|
|
|
|
be set appropriately.
|
2017-01-19 21:00:21 +00:00
|
|
|
|
2018-02-17 18:09:39 +00:00
|
|
|
Note that this element installs ``systemd-sysv`` as the init system for
|
|
|
|
18.04+.
|
|
|
|
|
2019-06-18 17:02:36 +00:00
|
|
|
Environment Variables
|
|
|
|
---------------------
|
|
|
|
|
|
|
|
DIB_UBUNTU_KERNEL:
|
|
|
|
:Required: No
|
|
|
|
:Default: ``linux-image-generic``
|
|
|
|
:Description: Specifies the kernel meta package to install in the image.
|
|
|
|
:Example: ``DIB_UBUNTU_KERNEL=linux-image-kvm``
|
|
|
|
:Options: ``linux-image-generic``, ``linux-image-kvm``,
|
|
|
|
``linux-image-virtual``
|
|
|
|
:Notes: The element must know about the package, otherwise it will select
|
|
|
|
the default.
|
|
|
|
|
2021-01-26 11:28:47 +00:00
|
|
|
|
|
|
|
DIB_UBUNTU_MIRROR_DISTS:
|
|
|
|
:Required: No
|
|
|
|
:Default: ``updates,security,backports``
|
|
|
|
:Description: Allow to manage 'dists' repos
|
|
|
|
:Example: ``DIB_UBUNTU_MIRROR_DISTS=updates,security``
|
|
|
|
:Notes: For some deployment,
|
|
|
|
is may be required to disable backport|update|etc packages integration.
|
|
|
|
|
2017-01-19 21:00:21 +00:00
|
|
|
.. element_deps::
|