diskimage-builder/diskimage_builder/elements/ubuntu-systemd-container
Jesse Pretorius d59a0c8786 Add ubuntu-systemd-container operating-system element
In order to allow the simple preparation of base images which
can be used for LXC/nspawn machine containers, we add this
element.

Containers inherit a kernel from the host, so there is no need
to build a kernel into the image. All the element needs is a
base init system which, in this case, is systemd.

Change-Id: I45651de2aa1b19bdeee301094f0bdffdd0a3b45c
2018-10-31 14:22:28 +11:00
..
root.d Add ubuntu-systemd-container operating-system element 2018-10-31 14:22:28 +11:00
test-elements Add ubuntu-systemd-container operating-system element 2018-10-31 14:22:28 +11:00
README.rst Add ubuntu-systemd-container operating-system element 2018-10-31 14:22:28 +11:00
element-deps Add ubuntu-systemd-container operating-system element 2018-10-31 14:22:28 +11:00
element-provides Add ubuntu-systemd-container operating-system element 2018-10-31 14:22:28 +11:00

README.rst

ubuntu-systemd-container

The ubuntu-systemd-container element uses debootstrap for generating a minimal image for use by machine containers. In contrast the ubuntu element uses the cloud-image as the initial base and the ubuntu-minimal builds an image to be used for hosts.

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