diff options
Diffstat (limited to 'templates/boot/generic-qemu-tmpfs.jinja2')
-rw-r--r-- | templates/boot/generic-qemu-tmpfs.jinja2 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/boot/generic-qemu-tmpfs.jinja2 b/templates/boot/generic-qemu-tmpfs.jinja2 index e39802d..b89ac60 100644 --- a/templates/boot/generic-qemu-tmpfs.jinja2 +++ b/templates/boot/generic-qemu-tmpfs.jinja2 @@ -32,9 +32,9 @@ context: kernel: image_arg: '-kernel {kernel} -append "{{ qemu_cmdline }}"' url: {{ kernel_url }} -{%- if initrd_url and rootfs_type == 'ramdisk' %} - ramdisk: - image_arg: '-drive format=raw,file={ramdisk}' +{%- if initrd_url and rootfs_type == 'rootvd' %} + rootvd: + image_arg: '-drive format=raw,file={rootvd}' url: {{ initrd_url }} compression: {{ initrd_compression }} {%- endif %} |