Update xoce-import.sh
This commit is contained in:
parent
8c021409fd
commit
640ba95d1b
|
@ -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" -c -| xe vm-import filename=/dev/stdin 2>&1)
|
uuid=$(curl "$XOCE_URL" -L -O -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
|
||||||
|
|
Loading…
Reference in New Issue