Set DIB_RELEASE in ubuntu element

The other distro elements set DIB_RELEASE which allows the other
elements to know what distro release is being built during the
extra-data or environment.d phases.

Change-Id: I00bf13410ded5b678ebc66ff191891ed3cc80f4f
This commit is contained in:
Gregory Haynes 2015-03-04 23:10:04 +00:00
parent d3324cbb69
commit 8434e5afbf
2 changed files with 3 additions and 1 deletions

View File

@ -9,6 +9,7 @@ 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
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

View File

@ -1 +1,2 @@
export DISTRO_NAME=ubuntu
export DIB_RELEASE=${DIB_RELEASE:-trusty}