diff --git a/lib/vagrant-libvirt/templates/domain.xml.erb b/lib/vagrant-libvirt/templates/domain.xml.erb index fb9e443..a617b63 100644 --- a/lib/vagrant-libvirt/templates/domain.xml.erb +++ b/lib/vagrant-libvirt/templates/domain.xml.erb @@ -27,11 +27,13 @@ hvm <% end %> <% end %> - <% @boot_order.each do |b| %> - - <% end %> <% if @boot_order.count >= 1 %> + <% @boot_order.each do |b| %> + + <% end %> + <% else %> + <% end %> <%= @kernel %> <%= @initrd %>