Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo -i
- : ${BRANCH:=stable/liberty}
- #: ${BRANCH:=stable/mikita}
- : ${ANSIBLE=1.9.4}
- yum -y install python-pip
- curl -sSL https://get.docker.io | bash
- # Create the drop-in unit directory for docker.service
- mkdir -p /etc/systemd/system/docker.service.d
- # Create the drop-in unit file
- tee /etc/systemd/system/docker.service.d/kolla.conf <<-'EOF'
- [Service]
- MountFlags=shared
- EOF
- # Run these commands to reload the daemon
- systemctl daemon-reload
- systemctl restart docker
- yum -y install ntp
- systemctl enable ntpd.service
- systemctl start ntpd.service
- systemctl stop libvirtd.service
- systemctl disable libvirtd.service
- yum install -y gcc libffi-devel libxslt-devel libxml2-devel python-devel openssl-devel git
- pip install -U ansible==${ANSIBLE}
- git clone https://git.openstack.org/openstack/kolla
- pushd kolla
- git checkout $BRANCH
- cp -r etc/kolla /etc/
- popd
- pip install kolla/
- sed -i -e 's/neutron_external_interface: "eth1"/neutron_external_interface: "eth2"/' -e 's/network_interface: "eth0"/network_interface: "eth3"/g' /etc/kolla/globals.yml
- pip install -U python-openstackclient python-neutronclient
- kolla-build
- kolla-genpwd
- kolla-ansible prechecks
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement