aboutsummaryrefslogtreecommitdiffstats
path: root/templates/boot/generic-uboot-tftp.jinja2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/boot/generic-uboot-tftp.jinja2')
-rw-r--r--templates/boot/generic-uboot-tftp.jinja22
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/boot/generic-uboot-tftp.jinja2 b/templates/boot/generic-uboot-tftp.jinja2
index 4baa405..0f0f9e2 100644
--- a/templates/boot/generic-uboot-tftp.jinja2
+++ b/templates/boot/generic-uboot-tftp.jinja2
@@ -10,6 +10,7 @@ protocols:
{% endblock %}
{%- block boot %}
{{ super() }}
+ type: {{ uboot_type|default("bootm") }}
commands: {{ boot_commands|default("ramdisk") }}
{%- if rootfs_type == 'nbd' %}
transfer_overlay:
@@ -21,7 +22,6 @@ protocols:
{{ super() }}
kernel:
url: {{ kernel_url }}
- type: {{ kernel_type }}
{%- if rootfs_type == 'nbd' %}
initrd:
url: {{ initrd_url }}