Update xoce-import.sh

continue at random offset due to timeout
This commit is contained in:
Dustin B 2020-07-26 16:48:38 -04:00 committed by GitHub
parent de67943d03
commit 8c021409fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ uuid=$(xe vm-import url="$XOCE_URL" 2> /dev/null)
import=$? import=$?
if [ $import -ne 0 ] if [ $import -ne 0 ]
then then
uuid=$(curl "$XOCE_URL" | xe vm-import filename=/dev/stdin 2>&1) uuid=$(curl "$XOCE_URL" -c -| xe vm-import filename=/dev/stdin 2>&1)
fi fi
# If it fails again (for any reason), we stop the script # If it fails again (for any reason), we stop the script