mirror of
https://github.com/Jarli01/xenorchestra_installer
synced 2025-12-23 20:20:01 +00:00
Update xoce-import.sh
adding `--keepalive-time 5` to send a tcp notice keeping the connection active
This commit is contained in:
@@ -49,7 +49,7 @@ uuid=$(xe vm-import url="$XOCE_URL" 2> /dev/null)
|
||||
import=$?
|
||||
if [ $import -ne 0 ]
|
||||
then
|
||||
uuid=$(curl "$XOCE_URL" -L -O -c -| xe vm-import filename=/dev/stdin 2>&1)
|
||||
uuid=$(curl "$XOCE_URL" -L -O -c - --keepalive-time 5 | xe vm-import filename=/dev/stdin 2>&1)
|
||||
fi
|
||||
|
||||
# If it fails again (for any reason), we stop the script
|
||||
|
||||
Reference in New Issue
Block a user