aboutsummaryrefslogtreecommitdiff
path: root/lava_scheduler_app/tests/device-types/ssh.jinja2
blob: 12fe42f81a794a5813c16c598c5b4684bed3e106 (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
30
{% extends 'base.jinja2' %}
{% block body %}

actions:
  deploy:
    methods:
      ssh:
        options:
{{ ssh_options }}
        # primary connections get this from the device dictionary.
        # secondary connections get this from the lava-multinode protocol support.
        host: '{{ ssh_host|default('') }}'
        port: {{ ssh_port|default(22) }}
{{ ssh_identity}}

  boot:
    connections:
      ssh:
    methods:
# can be removed by defining this block empty in the device config
{% block schroot %}
      schroot:
        command:
{{ schroot }}
        name:
          {{ schroot_name_list|default(['unstable', 'sid'])}}
{% endblock schroot %}
      ssh:

{% endblock body %}