diskimage-builder/diskimage_builder/elements/ubuntu-minimal
Ian Wienand c5acc91574 ubuntu-minimal: fix HWE install for focal
On Focal, install the 20.04 HWE kernel if linux-image-hwe is
specified.

Change-Id: I5d536e8f64e7b987415849d8cd4da7959bba7af7
2020-05-21 14:03:54 +10:00
..
environment.d Add DIB_UBUNTU_KERNEL to ubuntu-minimal 2019-06-20 10:18:23 -07:00
root.d Add keyring if supplied 2018-07-02 14:33:35 -04:00
test-elements Add arm64 based functional test 2019-12-16 10:51:01 +11: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 ubuntu-minimal: fix HWE install for focal 2020-05-21 14:03:54 +10:00
README.rst Add DIB_UBUNTU_KERNEL to ubuntu-minimal 2019-06-20 10:18:23 -07: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+.

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.

.. element_deps::