summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/boot/generic-base-boot.jinja25
-rw-r--r--templates/machines/qemuarm.jinja22
2 files changed, 7 insertions, 0 deletions
diff --git a/templates/boot/generic-base-boot.jinja2 b/templates/boot/generic-base-boot.jinja2
index a8e253a..cfd113f 100644
--- a/templates/boot/generic-base-boot.jinja2
+++ b/templates/boot/generic-base-boot.jinja2
@@ -14,5 +14,10 @@
timeout:
minutes: {{ boot_timeout }}
method: {{ boot_method|default("u-boot") }}
+{%- if qemu_docker %}
+ docker:
+ image: kernelci/qemu
+ binary: {{ qemu_binary }}
+{%- endif %}
{%- include 'boot/agl-prompt.jinja' %}
{%- endblock %}
diff --git a/templates/machines/qemuarm.jinja2 b/templates/machines/qemuarm.jinja2
index e219265..4a5f946 100644
--- a/templates/machines/qemuarm.jinja2
+++ b/templates/machines/qemuarm.jinja2
@@ -19,3 +19,5 @@
{%- else %}
{%- set rfs_image = rfs_image|default("agl-demo-platform-qemuarm.ext4.xz") %}
{%- endif %}
+{% set qemu_binary = 'qemu-system-arm' %}
+{% set qemu_docker = True %}