[CORD-2095]
Specifiy nfs connection for synced_folder override, to avoid using rsync
Change-Id: I11bb28a18f6455d9fe6f9ba261ce6ec040aa4233
diff --git a/scenarios/cord/Vagrantfile b/scenarios/cord/Vagrantfile
index 8cb119d..6dc016b 100644
--- a/scenarios/cord/Vagrantfile
+++ b/scenarios/cord/Vagrantfile
@@ -16,13 +16,13 @@
d.vm.box = "ubuntu/trusty64"
d.vm.hostname = "corddev"
d.vm.network "private_network", ip: "10.100.198.200"
+ d.vm.synced_folder $cordpath, settings['build_cord_dir']
d.vm.synced_folder settings['host_cord_profile_dir'], settings['build_cord_profile_dir'], create: true
d.vm.provision :hosts do |provisioner|
provisioner.autoconfigure = true
provisioner.sync_hosts = true
provisioner.add_host '10.100.198.201', ['docker-registry']
end
- d.vm.synced_folder $cordpath, settings['build_cord_dir']
d.vm.provider :virtualbox do |v|
v.memory = settings['dev_vm_mem']
v.cpus = settings['dev_vm_cpu']
@@ -31,6 +31,7 @@
v.memory = settings['dev_vm_mem']
v.cpus = settings['dev_vm_cpu']
override.vm.synced_folder $cordpath, settings['build_cord_dir'], type: "nfs"
+ override.vm.synced_folder settings['host_cord_profile_dir'], settings['build_cord_profile_dir'], type: "nfs"
end
end