diff --git a/devstack/tools/ironic/templates/vm.xml b/devstack/tools/ironic/templates/vm.xml
index 2a3162afd2..2e3ed61093 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 %}
@@ -36,13 +36,9 @@
-
-
+
{% endfor %}
-
-
-
{% for n in range(1, interface_count+1) %}
{% if n == 1 and mac %}
@@ -50,16 +46,11 @@
{% endif %}
-
{% if uefi_loader and bootdev == 'network' %}
{% endif %}
{% endfor %}
-
{{ console }}
-
-
-