aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Bezak <bartosz@stackhpc.com>2023-02-23 13:06:53 +0100
committerBartosz Bezak <bartosz@stackhpc.com>2023-02-23 13:07:08 +0100
commit459b8927e1bced532a468ba4c98da97aed599656 (patch)
tree8301b858f191ee313ef95b408c14917236ad3a8d
parentad745bf1f84fd75af5522fd09daa95d6d4b45500 (diff)
downloadkolla-ansible-459b8927e1bced532a468ba4c98da97aed599656.tar.gz
kolla-ansible-459b8927e1bced532a468ba4c98da97aed599656.zip
Allow to override CirrOS version in init-runonce
This is to allow us to customize for CI. Change-Id: Ie45860fa2228c21ce45ac8118267fb8304129802
-rwxr-xr-xtools/init-runonce2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/init-runonce b/tools/init-runonce
index c1dade5f4..f55118656 100755
--- a/tools/init-runonce
+++ b/tools/init-runonce
@@ -19,7 +19,7 @@ fi
# to be created.
ARCH=$(uname -m)
-CIRROS_RELEASE=0.6.1
+CIRROS_RELEASE=${CIRROS_RELEASE:-0.6.1}
IMAGE_PATH=/opt/cache/files/
IMAGE_URL=https://github.com/cirros-dev/cirros/releases/download/${CIRROS_RELEASE}/
IMAGE=cirros-${CIRROS_RELEASE}-${ARCH}-disk.img