[DRE-commits] [vagrant-libvirt] 34/163: Allow override of 9p mount params

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Apr 24 13:57:01 UTC 2016


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to annotated tag 0.0.26
in repository vagrant-libvirt.

commit c75d4804dc89798910e93ad56e3a29de1c504fb8
Author: Thomas Bechtold <tbechtold at suse.com>
Date:   Mon Sep 8 20:23:15 2014 +0200

    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 )

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/vagrant-libvirt.git



More information about the Pkg-ruby-extras-commits mailing list