octavia/elements/apt-mirror/README.rst
Gregory Haynes f5c1549ebd Deperecate apt-mirror element
There are upstream methods for setting a mirror which are much more
flexible, lets just document and point users at them.

Change-Id: I442e4695d56086932403fb5893da89ead203c86d
2016-08-24 15:23:03 -05:00

17 lines
618 B
ReStructuredText

This element enables the use of a mirror for updating Ubuntu cloud images.
Using a local mirror increases the speed of building the image.
Note: This element is deprectated in favor of the diskimage-builder methods
for setting a mirror. See
http://docs.openstack.org/developer/diskimage-builder/elements/ubuntu/README.html
and
http://docs.openstack.org/developer/diskimage-builder/elements/apt-sources/README.html
for more information.
The Ubuntu mirror URL is specified by setting the 'UBUNTU_MIRROR' environment
variable.
.. code:: bash
$ export UBUNTU_MIRROR=http://<local mirror hostname>/<path to mirror>