LAVA: increase timeout
[lttng-ci.git] / lava / rootfs / vmdeboostrap / lava-vmdebootstrap
CommitLineData
0e37945f
JR
1#!/bin/sh
2
3set -e
4
5# temporary: download linaro-overlay packages, which provide
6# auto-serial-console. Plans for the future include providing
7# auto-serial-console in the Debian archive so we don't need this.
8PREFIX=https://launchpad.net/~linaro-maintainers/+archive/overlay/+files
9set -x
10while read line; do
11 if ! echo "$line" | sha1sum --check --quiet - > /dev/null 2>&1; then
12 package=$(echo "$line" | awk '{ print($2) }')
13 echo "Downloading $package ..."
14 wget --quiet $PREFIX/$package
15 echo "$line" | sha1sum --check --quiet
16 fi
17done < external-packages.sha1sum
18
19set -x
20sudo vmdebootstrap \
21 --custom-package='linaro-overlay_1112.2_all.deb' \
22 --custom-package='linaro-overlay-minimal_1112.2_all.deb' \
23 --enable-dhcp \
24 --serial-console --serial-console-command='/bin/auto-serial-console' \
25 --root-password='root' \
26 --verbose \
27 "$@"
This page took 0.024228 seconds and 4 git commands to generate.