#!/bin/bash

# Disable SELinux
setenforce 0

# Install system packages
cat >/etc/yum.repos.d/docker.repo <<-EOF
[dockerrepo]
name=Docker Repository
baseurl=https://yum.dockerproject.org/repo/main/centos/7
enabled=1
gpgcheck=1
gpgkey=https://yum.dockerproject.org/gpg
EOF
yum -y install docker-engine epel-release git python-pip

# Start services
systemctl start docker

# Fetch and install pip packages
sudo -u vagrant git clone https://github.com/openstack/kolla ~vagrant/kolla
pip install ~vagrant/kolla
pip install ~vagrant/kolla-mesos

# Copy configuration
cp -r ~vagrant/kolla/etc/kolla/ /etc/kolla

#!/bin/bash

# Disable SELinux
setenforce 0

# Install system packages
cat >/etc/yum.repos.d/docker.repo <<-EOF
[dockerrepo]
name=Docker Repository
baseurl=https://yum.dockerproject.org/repo/main/centos/7
enabled=1
gpgcheck=1
gpgkey=https://yum.dockerproject.org/gpg
EOF
yum -y install docker-engine epel-release git python-pip

# Start services
systemctl enable docker
systemctl start docker

# Fetch and install pip packages
sudo -u vagrant git clone https://github.com/openstack/kolla ~vagrant/kolla
pip install ~vagrant/kolla
pip install ~vagrant/kolla-mesos

# Copy configuration
cp -r ~vagrant/kolla/etc/kolla/ /etc/kolla

Enable docker service in vagrant
Enable docker service in vagrant

Closes-Bug: #1519777
TrivialFix

Change-Id: Id5a5e2b18dc24dcb5d38f0dc3f7b32b6fbaf2de3
