summaryrefslogtreecommitdiffstats
path: root/templates/boot/generic-base-boot.jinja2
blob: 30e0b3a480d43827b619c1ccf6b8775a2cb938fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{%- extends 'base/agl-simple.jinja2' %}
{%- if rootfs_type == 'nbd' %}
{%- block main %}
{{ super () }}
# context allows specific values to be overridden or included
context:
    extra_kernel_args: systemd.mask=systemd-network-generator.service
{%- endblock %}
{%- block deploy %}
{{ super() }}
    protocols:
      lava-xnbd:
      - action: nbd-deploy
        request: set_port
{%- endblock %}
{%- endif %}
{%- block boot %}
{{ super() }}
- boot:
    timeout:
      minutes: {{ boot_timeout }}
    method: {{ boot_method|default("u-boot") }}
{%- if qemu_docker %}
    docker:
      image: dl9pf/qemu
      binary: {{ qemu_binary }}
{%- endif %}
{%- include 'boot/agl-prompt.jinja' %}
{%- endblock %}