From b9c5fb3616bbe3094b295be976e819df91fa692e Mon Sep 17 00:00:00 2001 From: Maksim Malchuk Date: Sat, 14 Jun 2025 22:32:14 +0300 Subject: [PATCH] Allow to override Cirros image URL for air-gapped environments Change-Id: I917b63ac93a7370e4e064a3fcce70820521387d4 Signed-off-by: Maksim Malchuk --- tools/init-runonce | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/init-runonce b/tools/init-runonce index 9fa21f6f78..0c389642b2 100755 --- a/tools/init-runonce +++ b/tools/init-runonce @@ -21,7 +21,7 @@ fi ARCH=$(uname -m) CIRROS_RELEASE=${CIRROS_RELEASE:-0.6.2} 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_NAME=cirros IMAGE_TYPE=linux