diff options
| author | Martin André <m.andre@redhat.com> | 2016-01-04 11:52:46 +0900 |
|---|---|---|
| committer | Martin André <m.andre@redhat.com> | 2016-01-04 11:52:46 +0900 |
| commit | f7c196281cae4bd94e06f5d282a01c8ca3110984 (patch) | |
| tree | 7680e527310f4fad6f008aa320391f05823b8db3 /dev/vagrant/bootstrap.sh | |
| parent | bef9c081b58f3cb9af4d6bebc92156a049f78765 (diff) | |
| download | kolla-f7c196281cae4bd94e06f5d282a01c8ca3110984.tar.gz kolla-f7c196281cae4bd94e06f5d282a01c8ca3110984.zip | |
Remove docker version pinning for vagrant envs
Kolla now has its own docker ansible module which doesn't require
specific docker version.
Also, add requirement for ansible <2, and stop using NL mirror for
epel.
Change-Id: I743c51c2d6b7f6af0aa4038e1081066b36e36fa1
Partially-Implements: blueprint kolla-docker-module
Diffstat (limited to 'dev/vagrant/bootstrap.sh')
| -rw-r--r-- | dev/vagrant/bootstrap.sh | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/dev/vagrant/bootstrap.sh b/dev/vagrant/bootstrap.sh index bc3d6c2f4..90866afe6 100644 --- a/dev/vagrant/bootstrap.sh +++ b/dev/vagrant/bootstrap.sh @@ -29,8 +29,10 @@ function prep_work { # resolve to the public IP instead of localhost. sed -i -r "s/^(127\.0\.0\.1\s+)(.*) `hostname` (.+)/\1 \3/" /etc/hosts - yum install -y http://mirror.nl.leaseweb.net/epel/7/x86_64/e/epel-release-7-5.noarch.rpm - yum install -y MySQL-python vim-enhanced python-pip python-devel gcc openssl-devel libffi-devel libxml2-devel libxslt-devel && yum clean all + yum install -y epel-release + rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 + yum install -y MySQL-python vim-enhanced python-pip python-devel gcc openssl-devel libffi-devel libxml2-devel libxslt-devel + yum clean all pip install --upgrade docker-py } @@ -49,11 +51,6 @@ 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 @@ -85,7 +82,7 @@ function configure_kolla { # Configure the operator node and install some additional packages. function configure_operator { yum install -y git mariadb && yum clean all - pip install --upgrade ansible python-openstackclient tox + pip install --upgrade "ansible<2" python-openstackclient tox pip install ~vagrant/kolla |
