mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-18 11:34:23 +01:00
Allow proper retry in pip install command
Signed-off-by: Daan Hoogland <daan@onecht.net>
This commit is contained in:
parent
5386e0f6b5
commit
e4f09e9ebc
@ -82,8 +82,7 @@ echo -e "\nInstalling some python packages: "
|
|||||||
|
|
||||||
for ((i=0;i<$RETRY_COUNT;i++))
|
for ((i=0;i<$RETRY_COUNT;i++))
|
||||||
do
|
do
|
||||||
sudo pip install lxml texttable > /tmp/piplog
|
sudo pip install --upgrade lxml texttable paramiko > /tmp/piplog
|
||||||
sudo pip install --upgrade paramiko >> /tmp/piplog
|
|
||||||
if [[ $? -eq 0 ]]; then
|
if [[ $? -eq 0 ]]; then
|
||||||
echo -e "\npython packages installed successfully"
|
echo -e "\npython packages installed successfully"
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user