Skip to content

Commit

Permalink
while setting up provisioner, check if osie file path is valid
Browse files Browse the repository at this point in the history
Signed-off-by: Gaurav Gahlot <[email protected]>
  • Loading branch information
gauravgahlot committed Aug 30, 2021
1 parent cdf8a8f commit b547d22
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,11 @@ setup_osie() (
curl -fsSL 'https://tinkerbell-oss.s3.amazonaws.com/osie-uploads/latest.tar.gz' -o ./osie.tar.gz
tar -zxf osie.tar.gz
else
if [ ! -f "$TB_OSIE_TAR" ]; then
echo "$ERR osie tar not found in the given location $TB_OSIE_TAR"
exit 1
fi
echo "$INFO extracting osie tar"
tar -zxf "$TB_OSIE_TAR"
fi

Expand Down

0 comments on commit b547d22

Please sign in to comment.