diff options
author | Corentin LABBE <clabbe@baylibre.com> | 2020-10-13 07:35:05 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2020-10-13 11:56:28 +0000 |
commit | 36d9df857024a1c254305bf7f06714ee0148f33e (patch) | |
tree | 4baea86ad590c45bdd7538e320b7bd901fccaee9 /templates/boot | |
parent | 5280722c7d07a3cef3ac016b2d1031a076528fd1 (diff) |
SPEC-3631: Add network to qemu
qemu machines does not have a network card by default.
So let's add one.
Change-Id: I6ea5d5625ee5c24b5ee49652f1aa838580a6f952
Bug-AGL: SPEC-3631
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
(cherry picked from commit bc944019a9f558454ede39b95e5da39fca0c81f8)
Diffstat (limited to 'templates/boot')
-rw-r--r-- | templates/boot/generic-qemu-tmpfs.jinja2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/boot/generic-qemu-tmpfs.jinja2 b/templates/boot/generic-qemu-tmpfs.jinja2 index ef8273a..a5e842a 100644 --- a/templates/boot/generic-qemu-tmpfs.jinja2 +++ b/templates/boot/generic-qemu-tmpfs.jinja2 @@ -21,6 +21,9 @@ context: {%- if qemu_memory is defined %} memory: {{ qemu_memory }} {%- endif %} +{%- if qemu_model is defined %} + model: {{ qemu_model }} +{%- endif %} {%- if guestfs_interface is defined %} guestfs_interface: {{ guestfs_interface }} {%- endif %} |