Merge "py3.5:Workaround fix for forcing virtualbmc installation with pip2"

This commit is contained in:
Jenkins 2017-07-24 20:36:36 +00:00 committed by Gerrit Code Review
commit 5187e80f03

View File

@ -670,7 +670,10 @@ function setup_virtualbmc {
git_clone_by_name "virtualbmc"
setup_dev_lib "virtualbmc"
else
pip_install_gr "virtualbmc"
# pyghmi is still not compatible with python3
# hence we need to install virtualbmc in python2
# environment else IPMI calls will fail at the gate.
USE_PYTHON3=False pip_install_gr "virtualbmc"
fi
if [[ ! -d $(dirname $IRONIC_VBMC_CONFIG_FILE) ]]; then