diff --git a/devstack/tools/ironic/templates/vm.xml b/devstack/tools/ironic/templates/vm.xml
index f5c59b54e5..36da0f61b7 100644
--- a/devstack/tools/ironic/templates/vm.xml
+++ b/devstack/tools/ironic/templates/vm.xml
@@ -3,7 +3,7 @@
{{ memory }}
{{ cpus }}
- hvm
+ hvm
{% if bootdev == 'network' and not uefi_loader %}
{% endif %}
@@ -34,13 +34,9 @@
-
-
+
{% endfor %}
-
-
-
{% for n in range(1, interface_count+1) %}
{% if n == 1 and mac %}
@@ -48,16 +44,11 @@
{% endif %}
-
{% if uefi_loader and bootdev == 'network' %}
{% endif %}
{% endfor %}
-
{{ console }}
-
-
-