c47ee6e121
When using the upstream cloud images with the "ubuntu" element, they have universe and multiverse enabled which we don't mirror. To use the infra mirrors as a DIB_DISTRIBUTION_MIRROR with this element, we need to be able to skip redirecting to universe and multiverse, and additionally enable insecure repos (as we don't gpg sign our mirrors). Add and document two new variables with the ubuntu element to do this. This is then setup by the openstack-ci-mirrors element so that we use local mirrors duing dib functional testing for the "ubuntu" element. Change-Id: I6ffbde07fa0e103641ee5c5f9d9e854e5b2168dc
25 lines
983 B
ReStructuredText
25 lines
983 B
ReStructuredText
======
|
|
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.
|
|
* Use ``DIB_DISTRIBUTION_MIRROR`` to override the ``sources.list``
|
|
with an alternative mirror
|
|
* Setting ``DIB_DISTRIBUTION_MIRROR_UBUNTU_IGNORE`` to an
|
|
extended-regexp (i.e. the argument to the ``=~`` bash comparitor)
|
|
which, when matched, will *not* set that line to the
|
|
``DIB_DISTRIBUTION_MIRROR``. For example, if your local mirror
|
|
does not mirror the universe and multiverse components, set this to
|
|
``(universe|multiverse)``
|
|
* Setting ``DIB_DISTRIBUTION_MIRROR_UBUNTU_INSECURE`` updates apt
|
|
settings to allow insecure/unuthenticated repositories.
|
|
|
|
.. element_deps::
|