diskimage-builder/tests/install_test_deps.sh
Gregory Haynes c50e9cf26c Add inetutils-ping to test-deps
We require ping, and (amazingly) some hosts don't have ping - such as
ubuntu-minimal images.

Change-Id: I82b4ce15bffe6b164523a47151c01ef4ad190ab0
2016-01-19 02:04:34 +00:00

15 lines
263 B
Bash
Executable file

#!/bin/bash
set -eux
set -o pipefail
sudo apt-get update || true
sudo apt-get install -y \
debootstrap \
inetutils-ping \
kpartx \
qemu-utils || \
sudo yum -y install \
debootstrap \
kpartx \
qemu-img