aboutsummaryrefslogtreecommitdiffstats
path: root/deploy
diff options
context:
space:
mode:
authormeimei <meimei@huawei.com>2016-05-09 10:51:21 +0800
committermeimei <meimei@huawei.com>2016-05-11 17:17:18 +0800
commitc6f911e50c666c2fc837a9192e721e6660660686 (patch)
tree3112e623918ae9e778b41a0e18e819825e8795d8 /deploy
parent4dc9869f0c1f9ff585e2a1e28b6f3e0b5605ba5e (diff)
Use the latest version of ansible
JIRA: COMPASS-386 Change-Id: I3973fd9ed4548efc367a0b22aaa650e37b52ae23 Signed-off-by: meimei <meimei@huawei.com>
Diffstat (limited to 'deploy')
-rwxr-xr-xdeploy/prepare.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/deploy/prepare.sh b/deploy/prepare.sh
index 60657a0c..e7d84441 100755
--- a/deploy/prepare.sh
+++ b/deploy/prepare.sh
@@ -36,11 +36,11 @@ function download_iso()
}
function prepare_env() {
- export PYTHONPATH=/usr/lib/python2.7/dist-packages:/usr/local/lib/python2.7/dist-packages
sudo apt-get update -y
sudo apt-get install -y --force-yes mkisofs bc curl ipmitool openvswitch-switch
sudo apt-get install -y --force-yes git python-dev
sudo apt-get install -y --force-yes libxslt-dev libxml2-dev libvirt-dev build-essential qemu-utils qemu-kvm libvirt-bin virtinst libmysqld-dev
+ sudo apt-get install -y --force-yes libffi-dev libssl-dev
sudo service libvirt-bin restart
if sudo service openvswitch-switch status|grep stop; then
sudo service openvswitch-switch start
@@ -86,5 +86,5 @@ function prepare_python_env() {
pip install --upgrade requests
pip install --upgrade netaddr
pip install --upgrade oslo.config
- pip install --upgrade ansible==1.9.4
+ pip install --upgrade ansible
}