aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2017-08-28 07:29:18 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-28 07:29:18 +0000
commit760c966b5095fb0cfe0a2ac4014a337531a8df1d (patch)
treef3156f903082a554c587e088df2605187e684801
parentc450b54ffb461e5a9a157b13679686170f7c385d (diff)
parent91eed5403503d576b8f7d37ad88f44923a574085 (diff)
Merge "Fix docker install"
-rwxr-xr-xdeploy/prepare.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/deploy/prepare.sh b/deploy/prepare.sh
index a620ac98..0927347c 100755
--- a/deploy/prepare.sh
+++ b/deploy/prepare.sh
@@ -92,6 +92,11 @@ function _prepare_python_env() {
sudo yum install -y libffi libffi-devel openssl-devel
sudo yum groupinstall -y 'Development Tools'
fi
+
+ sudo docker version >/dev/null 2>&1
+ if [[ $? -ne 0 ]]; then
+ install_docker
+ fi
fi
fi