summaryrefslogtreecommitdiff
path: root/lng-generator-04/ledge-rp.yaml
blob: d6fbab192b1606fffe058427e9e3a540d815f9f3 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
job_name: ledge-rp

timeouts:
    job:
        minutes: 900
    action:
        minutes: 20
    connection:
        minutes: 20

visibility: public
priority: medium
device_type: x86

protocols:
    lava-multinode:
        roles:
            lng04:
                device_type: x86
                count: 1
                context:
                    extra_kernel_args: default_hugepagesz=2M hugepagesz=1G hugepages=1 hugepagesz=2M hugepages=1024 intel_iommu=on iommu=on
    #lava-vland:
    #lng04:
    #vlan_one:
    #tags:
    #- 25G

actions:
- deploy:
    role:
        - lng04
    timeout:
        minutes: 10
    to: tftp

    kernel:
        url: https://snapshots.linaro.org/components/ledge/oe/ledge-qemux86-64/latest/rpb/bzImage--mainline*.bin
    nfsrootfs:
        url: https://snapshots.linaro.org/components/ledge/oe/ledge-qemux86-64/latest/rpb/ledge-gateway-ledge-qemux86-64-*.rootfs.tar.xz
        compression: xz
        #prefix: binary/
    ramdisk:
        url: http://people.linaro.org/~ilias.apalodimas/images/ubuntu-17.10/initrd.img-4.13.0-46-generic
        compression: gz
    os: OE

- boot:
    role:
        - lng04
    timeout:
        minutes: 15
    method: ipxe
    commands: nfs
    parameters:
        shutdown-message: "reboot: Restarting system"
    prompts:
        - 'root@(.*)'