aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorMichal Rostecki <mrostecki@mirantis.com>2015-10-15 07:34:44 +0200
committerMichal Rostecki <mrostecki@mirantis.com>2015-10-15 07:51:14 +0200
commit3baa57ddb701fd79bdc21964009abc0b7f7a07e6 (patch)
tree6ac5cb8b8d5b2de10eb06234381b0e7359ebeb2f /dev
parent63a2f61bc853d502e803aab92dce2af12286aa71 (diff)
downloadkolla-3baa57ddb701fd79bdc21964009abc0b7f7a07e6.tar.gz
kolla-3baa57ddb701fd79bdc21964009abc0b7f7a07e6.zip
Pin Docker version to 1.8.2
Currently Ansible have issues with Docker 1.8.3. We have to pin version to 1.8.2 before including fix [1] in tagged Ansible version. [1] https://github.com/ansible/ansible-modules-core/pull/2258 Change-Id: If802ff118782ec521acfff00e286cde703bf37b3
Diffstat (limited to 'dev')
-rw-r--r--dev/vagrant/bootstrap.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev/vagrant/bootstrap.sh b/dev/vagrant/bootstrap.sh
index d1d8248f6..dbe686043 100644
--- a/dev/vagrant/bootstrap.sh
+++ b/dev/vagrant/bootstrap.sh
@@ -45,6 +45,11 @@ enabled=1
gpgcheck=1
gpgkey=https://yum.dockerproject.org/gpg
EOF
+ # Pin Docker version to 1.8.2 before including this change
+ # https://github.com/ansible/ansible-modules-core/pull/2258
+ # in some tagged version of Ansible.
+ yum install -y yum-plugin-versionlock
+ yum versionlock add docker-engine-1.8.2-1.el7.centos.*
# Also upgrade device-mapper here because of:
# https://github.com/docker/docker/issues/12108
yum install -y docker-engine device-mapper