diff --git a/lib/vagrant-libvirt/templates/domain.xml.erb b/lib/vagrant-libvirt/templates/domain.xml.erb index 7fd991e..74b483c 100644 --- a/lib/vagrant-libvirt/templates/domain.xml.erb +++ b/lib/vagrant-libvirt/templates/domain.xml.erb @@ -111,11 +111,16 @@ <% @channels.each do |channel| %> - + + mode='<%= channel[:source_mode] %>' + <% end %> <% if channel[:source_path] %> path="<%= channel[:source_path] %>" <% end %> /> + <% end %> name="<%= channel[:target_name] %>"