lib/vagrant-ovirt3/action/sync_folders.rb in vagrant-ovirt3-1.0.0 vs lib/vagrant-ovirt3/action/sync_folders.rb in vagrant-ovirt3-1.1.0
- old
+ new
@@ -16,9 +16,10 @@
@app.call(env)
ssh_info = env[:machine].ssh_info
env[:machine].config.vm.synced_folders.each do |id, data|
+ next if data[:disabled]
hostpath = File.expand_path(data[:hostpath], env[:root_path])
guestpath = data[:guestpath]
# Make sure there is a trailing slash on the host path to
# avoid creating an additional directory with rsync