Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- device_type: lxc
- job_name: templates/hacksession-debian-lxc.tpl
- timeouts:
- job:
- minutes: 10
- action:
- minutes: 5
- connection:
- minutes: 2
- lava-test-shell:
- seconds: 1800
- priority: medium
- visibility: public
- protocols:
- lava-lxc:
- name: debian-lxc-lava
- template: debian
- distribution: debian
- arch: amd64
- release: sid
- actions:
- - deploy:
- timeout:
- minutes: 5
- to: lxc
- os: debian
- packages:
- - systemd
- - systemd-sysv
- - boot:
- prompts:
- - '[root@(.*) /]#'
- timeout:
- minutes: 5
- method: lxc
- - test:
- timeout:
- minutes:
- definitions:
- - repository:
- metadata:
- format: Lava-Test Test Definition 1.0
- name: cfg-debian-net
- description: "cfg-debian-net: hack to get DHCP working"
- os:
- - debian
- scope:
- - functional
- run:
- steps:
- - echo "auto eth0" >> /etc/network/interfaces
- - echo "iface eth0 inet dhcp" >> /etc/network/interfaces
- - ifconfig eth0 down && ifconfig eth0 up
- - lava-test-case cfg-debian-net --result pass
- from: inline
- name: cfg-debian-net
- path: inline/cfg-debian-net.yaml
- - test:
- definitions:
- - repository: <our repo>
- revision: dev
- from: git
- path: defs/hacksession-debian/hacking-session.yaml
- name: hacksession-debian
- parameters:
- PUB_KEY: "ssh-rsa <mykey> <myuser>@lava"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement