From c75d4804dc89798910e93ad56e3a29de1c504fb8 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Mon, 8 Sep 2014 20:23:15 +0200 Subject: [PATCH] Allow override of 9p mount params "accessmode" and "readonly" were not overridable. --- lib/vagrant-libvirt/cap/synced_folder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant-libvirt/cap/synced_folder.rb b/lib/vagrant-libvirt/cap/synced_folder.rb index f80869f..b886617 100644 --- a/lib/vagrant-libvirt/cap/synced_folder.rb +++ b/lib/vagrant-libvirt/cap/synced_folder.rb @@ -44,7 +44,7 @@ module VagrantPlugins # loop through folders folders.each do |id, folder_opts| folder_opts.merge!({ :accessmode => "passthrough", - :readonly => nil }) + :readonly => nil }) { |_k, ov, _nv| ov } machine.ui.info "================\nMachine id: #{machine.id}\nShould be mounting folders\n #{id}, opts: #{folder_opts}" xml = to_xml('filesystem', folder_opts )