diskimage-builder/diskimage_builder/elements/ubuntu-minimal
Sam Yaple c144246cc9
Add keyring if supplied
When building with debootstrap, debootstrap will use the key to check
that everything is properly signed. It will not `apt-key add` the key
into the final environment, however.

Early adding the key after debootstrap before we need to read from the
private repo again prevents unsigned issues. This also maintains the
integrity of the packages in the environment throughout the build.

Change-Id: I5ca75ae4620c9fb26b512cb30f8cd79fa7a0373a
2018-07-02 14:33:35 -04:00
..
environment.d Remove DIB_[DISTRO]_DISTRIBUTION_MIRROR 2017-07-17 14:47:31 +10:00
pre-install.d Release 1.27.0 2017-02-03 11:49:45 +11:00
root.d Add keyring if supplied 2018-07-02 14:33:35 -04:00
test-elements Replace the ubuntu-minimal trusty test with a bionic one 2018-05-21 12:51:31 +10: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 arm64: use HWE kernel and fix console 2018-02-23 10:04:48 +11:00
README.rst Install systemd earlier for Ubuntu Bionic 2018-02-17 14:32:35 -05: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.

By default this element creates the latest LTS release.  The exact
setting can be found in the 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+.

.. element_deps::