diff --git a/thundercore/scripts/download.thunder.sh b/thundercore/scripts/download.thunder.sh index 1dd23002..e463b0ce 100755 --- a/thundercore/scripts/download.thunder.sh +++ b/thundercore/scripts/download.thunder.sh @@ -15,7 +15,7 @@ apk add --no-cache wget tar gzip # Create and prepare directories rm -rf /datadir/* -url=$(wget -q -O - $SNAPSHOT_URL) +url=$(wget -q -O - $SNAPSHOT_URL | cut -d , -f 1) echo "downloading $url" wget --show-progress -c $url -O - | tar -C /datadir -zx