mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Fixed wrong target spec in 9p-fs template
This commit is contained in:
parent
311bdc5f23
commit
a2ec37159c
@ -43,7 +43,8 @@ module VagrantPlugins
|
||||
begin
|
||||
# loop through folders
|
||||
folders.each do |id, folder_opts|
|
||||
folder_opts.merge!({ :accessmode => "passthrough",
|
||||
folder_opts.merge!({ :target => id,
|
||||
:accessmode => "passthrough",
|
||||
:readonly => nil }) { |_k, ov, _nv| ov }
|
||||
machine.ui.info "================\nMachine id: #{machine.id}\nShould be mounting folders\n #{id}, opts: #{folder_opts}"
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
<filesystem type='mount' accessmode='<%= accessmode %>'>
|
||||
<driver type='path' wrpolicy='immediate'/>
|
||||
<source dir='<%= hostpath %>'/>
|
||||
<target dir='<%= guestpath %>'/>
|
||||
<target dir='<%= target %>'/>
|
||||
<% unless readonly.nil? %>
|
||||
<readonly />
|
||||
<% end %>
|
||||
</filesystem>
|
||||
</filesystem>
|
||||
|
Loading…
Reference in New Issue
Block a user