Merge "Deperecate apt-mirror element"
This commit is contained in:
commit
71797b6a59
3
elements/apt-mirror/10-deprecate-apt-mirror
Normal file
3
elements/apt-mirror/10-deprecate-apt-mirror
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
if [ -n "${UBUNTU_MIRROR:-}" ]; then
|
||||||
|
echo "DEPRECATED WARNING: Use of apt-mirror element is deprecated. 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 alternate methods of setting an ubuntu mirror."
|
||||||
|
fi
|
@ -1,6 +1,13 @@
|
|||||||
This element enables the use of a mirror for updating Ubuntu cloud images.
|
This element enables the use of a mirror for updating Ubuntu cloud images.
|
||||||
Using a local mirror increases the speed of building the image.
|
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
|
The Ubuntu mirror URL is specified by setting the 'UBUNTU_MIRROR' environment
|
||||||
variable.
|
variable.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user