diff --git a/setup.sh b/setup.sh index 9ccbf68cb..f48f49f30 100755 --- a/setup.sh +++ b/setup.sh @@ -257,7 +257,8 @@ setup_osie() ( pushd "$SCRATCH" if [ -z "${TB_OSIE_TAR:-}" ]; then - curl -fsSL 'https://tinkerbell-oss.s3.amazonaws.com/osie-uploads/latest.tar.gz' -o ./osie.tar.gz + local OSIE_DOWNLOAD_LINK=${OSIE_DOWNLOAD_LINK:-"https://tinkerbell-oss.s3.amazonaws.com/osie-uploads/latest.tar.gz"} # If variable not set or null, use default. + curl -fsSL "${OSIE_DOWNLOAD_LINK}" -o ./osie.tar.gz tar -zxf osie.tar.gz else if [ ! -f "$TB_OSIE_TAR" ]; then