Allow to override Cirros image URL for air-gapped environments
Change-Id: I917b63ac93a7370e4e064a3fcce70820521387d4 Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
This commit is contained in:
@@ -21,7 +21,7 @@ fi
|
|||||||
ARCH=$(uname -m)
|
ARCH=$(uname -m)
|
||||||
CIRROS_RELEASE=${CIRROS_RELEASE:-0.6.2}
|
CIRROS_RELEASE=${CIRROS_RELEASE:-0.6.2}
|
||||||
IMAGE_PATH=/opt/cache/files/
|
IMAGE_PATH=/opt/cache/files/
|
||||||
IMAGE_URL=https://github.com/cirros-dev/cirros/releases/download/${CIRROS_RELEASE}/
|
IMAGE_URL=${IMAGE_URL:-"https://github.com/cirros-dev/cirros/releases/download/${CIRROS_RELEASE}/"}
|
||||||
IMAGE=cirros-${CIRROS_RELEASE}-${ARCH}-disk.img
|
IMAGE=cirros-${CIRROS_RELEASE}-${ARCH}-disk.img
|
||||||
IMAGE_NAME=cirros
|
IMAGE_NAME=cirros
|
||||||
IMAGE_TYPE=linux
|
IMAGE_TYPE=linux
|
||||||
|
Reference in New Issue
Block a user