Skip to content
Snippets Groups Projects
Commit 1228cc83 authored by Martin André's avatar Martin André
Browse files

Reuse kolla working dir from host in operator

Partially-Implements: blueprint vagrant-improvements
Change-Id: I5eca45b497ed1aea3a3706d67c9938390be51f1d
parent 941aa493
No related branches found
No related tags found
No related merge requests found
......@@ -76,6 +76,7 @@ Vagrant.configure(2) do |config|
config.vm.define "operator" do |admin|
admin.vm.hostname = "operator.local"
admin.vm.provision :shell, path: "bootstrap.sh", args: "operator #{MULTINODE ? 'multinode' : 'aio'}"
admin.vm.synced_folder "..", "/home/vagrant/kolla", create:"True", type: 'nfs'
admin.vm.synced_folder "storage/operator/", "/data/host", create:"True", type: 'nfs'
admin.vm.synced_folder "storage/shared/", "/data/shared", create:"True", type: 'nfs'
admin.vm.synced_folder ".", "/home/vagrant/sync", disabled: true
......
......@@ -66,10 +66,7 @@ function configure_operator {
yum install -y git mariadb && yum clean all
pip install --upgrade ansible python-openstackclient
if [ ! -d ~vagrant/kolla ]; then
su - vagrant sh -c "https_proxy=$https_proxy git clone https://github.com/openstack/kolla.git ~/kolla"
pip install ~vagrant/kolla
fi
pip install ~vagrant/kolla
# Note: this trickery requires a patched docker binary.
if [ "$http_proxy" = "" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment