diskimage-builder/elements/ubuntu
Ian Wienand 2978ff885b Revert Xenial to Python 2
There are issues with pip packages and a python3 only Xenial systems.
This is occuring after Ie609de51cc5fcde701296c9474e315981d9778a2.

We believe the issue is with VIRTUAL_ENV being set within the chroot
and messing up pip installs
(Icdb769541eee9793f261b4b8ec563be76ee13fe2) but a full solution is not
yet clear.

For now, set Xenial to ensure we use python2.  Install the package for
the ubuntu element (75-debian-minimal-baseinstall will install python2
for the minimal elements).

Change-Id: Id403919b0af93b375a900186c01a0d3a3bdfafea
2016-12-21 20:46:13 +11:00
..
bin Standarise tracing for scripts 2015-02-12 10:41:32 +11:00
environment.d Make xenial the ubuntu default 2016-06-25 04:20:47 +00:00
install.d Standarise tracing for scripts 2015-02-12 10:41:32 +11:00
pre-install.d Revert Xenial to Python 2 2016-12-21 20:46:13 +11:00
root.d Standarise tracing for scripts 2015-02-12 10:41:32 +11:00
element-deps Only use Ec2 cloud-init data source for Ubuntu 2014-06-03 16:27:41 -07:00
element-provides Use provides to note an element provides an OS 2014-04-10 14:42:04 +01:00
package-installs.yaml Use package-installs for ubuntu and base elements 2015-02-06 10:13:08 -08:00
README.rst Set DIB_RELEASE in ubuntu element 2015-03-04 23:11:27 +00:00

======
ubuntu
======

Use Ubuntu cloud images as the baseline for built disk images.

Overrides:

 * To use a non-default URL for downloading base Ubuntu cloud images,
   use the environment variable DIB\_CLOUD\_IMAGES
 * To download a non-default release of Ubuntu cloud images, use the
   environment variable DIB\_RELEASE. This element will export the DIB_RELEASE
   variable.
 * To use different mirrors rather than the default of archive.ubuntu.com and
   security.ubuntu.com, use the environment variable DIB\_DISTRIBUTION\_MIRROR