diff options
author | Justin chi <chigang@huawei.com> | 2017-08-28 07:29:18 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-08-28 07:29:18 +0000 |
commit | 760c966b5095fb0cfe0a2ac4014a337531a8df1d (patch) | |
tree | f3156f903082a554c587e088df2605187e684801 /deploy | |
parent | c450b54ffb461e5a9a157b13679686170f7c385d (diff) | |
parent | 91eed5403503d576b8f7d37ad88f44923a574085 (diff) |
Merge "Fix docker install"
Diffstat (limited to 'deploy')
-rwxr-xr-x | deploy/prepare.sh | 5 |
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 |