Fix docker-compose 41/36941/2
authorHarry Huang <huangxiangyu5@huawei.com>
Wed, 5 Jul 2017 03:09:54 +0000 (11:09 +0800)
committerJustin chi <chigang@huawei.com>
Tue, 11 Jul 2017 11:33:56 +0000 (11:33 +0000)
Add sudo when install docker-compose

Change-Id: I7025919889d543c860bf49bbbaf9665030437160
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
deploy/prepare.sh

index 1da91a5..a620ac9 100755 (executable)
@@ -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
 }