Allow running script locally without schutzbot

This commit is contained in:
Diaa Sami 2021-09-07 14:24:54 +02:00 committed by Achilleas Koutsou
parent 12c900ac35
commit f87d8325d9
2 changed files with 8 additions and 4 deletions

View file

@ -115,6 +115,10 @@ SSH_USER="admin"
IMAGE_KEY="osbuild-composer-installer-test-${TEST_UUID}"
GUEST_ADDRESS=192.168.100.50
if [[ ${WORKSPACE:-empty} == empty ]]; then
WORKSPACE=$(mktemp -d)
fi
# Set up temporary files.
TEMPDIR=$(mktemp -d)
BLUEPRINT_FILE=${TEMPDIR}/blueprint.toml