File: README.rst

package info (click to toggle)
python-diskimage-builder 3.37.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,572 kB
  • sloc: sh: 7,380; python: 6,444; makefile: 37
file content (47 lines) | stat: -rw-r--r-- 1,722 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
==============
ubuntu-minimal
==============

The ``ubuntu-minimal`` element uses debootstrap for generating a
minimal image. In contrast the ``ubuntu`` element uses the cloud-image
as the initial base.

.. 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.

Note that this element installs ``systemd-sysv`` as the init system for
18.04+.

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.


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.

.. element_deps::