diskimage-builder/diskimage_builder/elements/ubuntu-minimal
Dr. Jens Harbott 1d3a4de4a8 Update functests
The arm64-deb builds are failing for jammy since debootstrap is too old,
let's run them on bookworm instead of bullseye. For consistency do the
same for the x86 builds. Also add functests building noble.

Depends-On: https://review.opendev.org/c/zuul/nodepool/+/929573
Change-Id: I5b25239a7cacda62d3a46f7b15306446b3cc08e6
2024-09-16 20:47:48 +00:00
..
environment.d Add 'DIB_UBUNTU_MIRROR_DISTS' to ubuntu-minimal 2021-01-27 10:32:49 +02:00
root.d Mount /sys RO 2021-07-05 11:45:02 +10:00
test-elements Update functests 2024-09-16 20:47:48 +00:00
element-deps Merge branch 'master' into merge-branch 2017-02-09 13:35:53 +11:00
element-provides Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
package-installs.yaml Revert "Revert "ubuntu-minimal : only install 16.04 HWE kernel on xenial"" 2020-05-27 06:18:02 +10:00
README.rst General improvements to the ubuntu-minimal docs 2022-01-21 19:21:00 -03:00

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 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 backportetc packages integration.