adapting vagrantfile to support new directory structure
Change-Id: I99cd6e53861d3d5abddf8152af06250aa53af2e5
diff --git a/Vagrantfile b/Vagrantfile
index 5da74ce..f890716 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -4,9 +4,9 @@
Vagrant.configure(2) do |config|
if (/cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM) != nil
- config.vm.synced_folder ".", "/cord", mount_options: ["dmode=700,fmode=600"]
+ config.vm.synced_folder "..", "/cord", mount_options: ["dmode=700,fmode=600"]
else
- config.vm.synced_folder ".", "/cord"
+ config.vm.synced_folder "..", "/cord"
end
config.vm.define "corddev" do |d|
@@ -15,7 +15,7 @@
d.vm.hostname = "corddev"
d.vm.network "private_network", ip: "10.100.198.200"
d.vm.provision :shell, path: "scripts/bootstrap_ansible.sh"
- d.vm.provision :shell, inline: "PYTHONUNBUFFERED=1 ansible-playbook /cord/ansible/corddev.yml -c local"
+ d.vm.provision :shell, inline: "PYTHONUNBUFFERED=1 ansible-playbook /cord/build/ansible/corddev.yml -c local"
d.vm.provider "virtualbox" do |v|
v.memory = 2048
end
@@ -28,7 +28,7 @@
d.vm.network "private_network", ip: "10.100.198.201"
d.vm.network "private_network", ip: "0.0.0.0", virtualbox__intnet: "cord-test-network"
d.vm.provision :shell, path: "scripts/bootstrap_ansible.sh"
- d.vm.provision :shell, inline: "PYTHONUNBUFFERED=1 ansible-playbook /cord/ansible/prod.yml -c local"
+ d.vm.provision :shell, inline: "PYTHONUNBUFFERED=1 ansible-playbook /cord/build/ansible/prod.yml -c local"
d.vm.provider "virtualbox" do |v|
v.memory = 2048
end
@@ -43,7 +43,7 @@
virtualbox__intnet: "cord-test-network",
mac: "cc37ab000001"
s.vm.provision :shell, path: "scripts/bootstrap_ansible.sh"
- s.vm.provision :shell, inline: "PYTHONUNBUFFERED=1 ansible-playbook /cord/ansible/fakeswitch.yml -c local"
+ s.vm.provision :shell, inline: "PYTHONUNBUFFERED=1 ansible-playbook /cord/build/ansible/fakeswitch.yml -c local"
s.vm.provider "virtualbox" do |v|
v.memory = 1048
v.name = "fakeswitch"