summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/boot/generic-grub-tftp.jinja22
-rw-r--r--templates/boot/generic-ipxe-tftp.jinja22
-rw-r--r--templates/boot/generic-uboot-tftp.jinja23
3 files changed, 3 insertions, 4 deletions
diff --git a/templates/boot/generic-grub-tftp.jinja2 b/templates/boot/generic-grub-tftp.jinja2
index 0d42443..1a82f27 100644
--- a/templates/boot/generic-grub-tftp.jinja2
+++ b/templates/boot/generic-grub-tftp.jinja2
@@ -25,8 +25,8 @@ context:
{{ super() }}
kernel:
url: {{ kernel_url }}
-{%- if rootfs_type == 'ramdisk' %}
type: {{ kernel_type }}
+{%- if rootfs_type == 'ramdisk' %}
ramdisk:
url: {{ initrd_url }}
compression: {{ initrd_compression }}
diff --git a/templates/boot/generic-ipxe-tftp.jinja2 b/templates/boot/generic-ipxe-tftp.jinja2
index 25aa9f1..c36a7e9 100644
--- a/templates/boot/generic-ipxe-tftp.jinja2
+++ b/templates/boot/generic-ipxe-tftp.jinja2
@@ -25,8 +25,8 @@ context:
{{ super() }}
kernel:
url: {{ kernel_url }}
-{%- if rootfs_type == 'ramdisk' %}
type: {{ kernel_type }}
+{%- if rootfs_type == 'ramdisk' %}
ramdisk:
url: {{ initrd_url }}
compression: {{ initrd_compression }}
diff --git a/templates/boot/generic-uboot-tftp.jinja2 b/templates/boot/generic-uboot-tftp.jinja2
index 62c657e..8befb6d 100644
--- a/templates/boot/generic-uboot-tftp.jinja2
+++ b/templates/boot/generic-uboot-tftp.jinja2
@@ -12,7 +12,6 @@ protocols:
{{ super() }}
commands: {{ boot_commands|default("ramdisk") }}
{%- if rootfs_type == 'nbd' %}
- type: {{ uboot_type|default("bootm") }}
transfer_overlay:
download_command: wget
unpack_command: tar -C / -xvpf
@@ -22,8 +21,8 @@ protocols:
{{ super() }}
kernel:
url: {{ kernel_url }}
-{%- if rootfs_type == 'ramdisk' %}
type: {{ kernel_type }}
+{%- if rootfs_type == 'ramdisk' %}
ramdisk:
url: {{ initrd_url }}
compression: {{ initrd_compression }}