pyvmmonitor: retry download because the server is not reliable

This commit is contained in:
Riccardo Schirone 2016-09-21 18:46:00 +00:00
parent 86d567e4da
commit 155efa8d5f

View file

@ -1,6 +1,7 @@
#!/bin/bash -e
wget https://bbc5a801c67991bd078f7f789065e318bdf9d509.googledrive.com/host/0BwwQN8QrgsRpOGpyc2syWkVYVkE/PyVmMonitor%201.0.1/pyvmmonitor_1.0.1_linux.x86_64.tar.gz -O - | tar xvz
# retry because the server is not reliable
wget -t 10 https://bbc5a801c67991bd078f7f789065e318bdf9d509.googledrive.com/host/0BwwQN8QrgsRpOGpyc2syWkVYVkE/PyVmMonitor%201.0.1/pyvmmonitor_1.0.1_linux.x86_64.tar.gz -O - | tar xvz
mkdir -p bin
cat <<END > bin/pyvmmonitor-ui