lib/vagrant-libvirt/templates/domain.xml.erb in vagrant-libvirt-0.0.38 vs lib/vagrant-libvirt/templates/domain.xml.erb in vagrant-libvirt-0.0.39
- old
+ new
@@ -1,6 +1,6 @@
-<domain type='<%= @domain_type %>'>
+<domain type='<%= @domain_type %>' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<name><%= @name %></name>
<uuid><%= @uuid %></uuid>
<memory><%= @memory_size %></memory>
<vcpu><%= @cpus %></vcpu>
@@ -216,6 +216,14 @@
<device path='<%= @tpm_path %>'/>
</backend>
</tpm>
<% end -%>
</devices>
+
+ <% unless @qemuargs.empty? %>
+ <qemu:commandline>
+ <% @qemuargs.each do |arg| %>
+ <qemu:arg value='<%= arg[:value] %>'/>
+ <% end %>
+ </qemu:commandline>
+ <% end %>
</domain>