Skip to content

Commit 6699acc

Browse files
committed
Allow to override Cirros image URL for air-gapped environments
Change-Id: I917b63ac93a7370e4e064a3fcce70820521387d4 Signed-off-by: Maksim Malchuk <[email protected]> (cherry picked from commit b9c5fb3)
1 parent d7cbd03 commit 6699acc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/init-runonce

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fi
2121
ARCH=$(uname -m)
2222
CIRROS_RELEASE=${CIRROS_RELEASE:-0.6.2}
2323
IMAGE_PATH=/opt/cache/files/
24-
IMAGE_URL=https://github.com/cirros-dev/cirros/releases/download/${CIRROS_RELEASE}/
24+
IMAGE_URL=${IMAGE_URL:-"https://github.com/cirros-dev/cirros/releases/download/${CIRROS_RELEASE}/"}
2525
IMAGE=cirros-${CIRROS_RELEASE}-${ARCH}-disk.img
2626
IMAGE_NAME=cirros
2727
IMAGE_TYPE=linux

0 commit comments

Comments
 (0)