summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2017-07-05 11:09:54 +0800
committerJustin chi <chigang@huawei.com>2017-07-11 11:33:56 +0000
commita0edd1b2b4d4df6fc5c3e773eba66224930fdb46 (patch)
tree35824e19e37d36ae68f552b2eb086edd097a9537
parent1833897d18fe0930984215372e1343cff1531b61 (diff)
Fix docker-compose
Add sudo when install docker-compose Change-Id: I7025919889d543c860bf49bbbaf9665030437160 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
-rwxr-xr-xdeploy/prepare.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/deploy/prepare.sh b/deploy/prepare.sh
index 1da91a5f..a620ac98 100755
--- a/deploy/prepare.sh
+++ b/deploy/prepare.sh
@@ -111,7 +111,8 @@ function _prepare_python_env() {
pip install netaddr==0.7.19
pip install oslo.config==4.6.0
pip install ansible==2.3.1.0
- pip install docker-compose==1.14.0
+ # For sudo use
+ sudo pip install docker-compose==1.14.0
fi
}