- sudo pip install --upgrade pip
- sudo pip install pyvcloud
- sudo pip install progressbar
- sudo pip install prettytable
- sudo pip install pyvmomi
+ pip2 install pip==9.0.3 || exit 1 # --upgrade pip install pip 10 that does not work
+ pip2 install pyvcloud==19.1.1 || exit 1
+ pip2 install progressbar || exit 1
+ pip2 install prettytable || exit 1
+ pip2 install pyvmomi || exit 1
+ [ "$_DISTRO" == "Ubuntu" ] && install_packages "genisoimage"
+ [ "$_DISTRO" == "CentOS" -o "$_DISTRO" == "Red" ] && install_packages "genisoimage"
+
+ # required for fog connector
+ pip2 install fog05rest || exit 1
+
+ # required for OpenNebula connector
+ pip2 install untangle || exit 1
+ pip2 install pyone || exit 1
+ pip2 install -e git+https://github.com/python-oca/python-oca#egg=oca || exit 1