mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Allow override of 9p mount params
"accessmode" and "readonly" were not overridable.
This commit is contained in:
parent
a85ca6fbe6
commit
c75d4804dc
@ -44,7 +44,7 @@ module VagrantPlugins
|
|||||||
# loop through folders
|
# loop through folders
|
||||||
folders.each do |id, folder_opts|
|
folders.each do |id, folder_opts|
|
||||||
folder_opts.merge!({ :accessmode => "passthrough",
|
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}"
|
machine.ui.info "================\nMachine id: #{machine.id}\nShould be mounting folders\n #{id}, opts: #{folder_opts}"
|
||||||
|
|
||||||
xml = to_xml('filesystem', folder_opts )
|
xml = to_xml('filesystem', folder_opts )
|
||||||
|
Loading…
Reference in New Issue
Block a user