Jesse Pretorius 30493f7655 Move common ubuntu environment setting to ubuntu-common element
The ubuntu, and ubuntu-minimal elements both make use of a common set
of environment settings to determine the distribution name.

The ubuntu-minimal element also does a few extra things which would
appear to apply to both sets and bring in extra architecture support.
As such, these are included in the common element.

This intends to be part of a series of patches which will eventually
create a new element to build a minimal ubuntu-systemd-container
element which can be used for lxc/nspawn containers.

Change-Id: Ia4e620f7d3fa6215484a8d218cea2f28bd1ffaee
2018-09-20 00:04:55 +00:00
..
2017-02-03 11:49:45 +11:00
2018-07-02 14:33:35 -04: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+.