From 0b2ebc102b4317c94c004487a3dfe85dc70a37ac Mon Sep 17 00:00:00 2001 From: Brad Wadsworth Date: Mon, 1 Jun 2015 10:26:31 -0500 Subject: [PATCH] edited domain.xml.erb --- lib/vagrant-libvirt/templates/domain.xml.erb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 %>