c50e9cf26c
We require ping, and (amazingly) some hosts don't have ping - such as ubuntu-minimal images. Change-Id: I82b4ce15bffe6b164523a47151c01ef4ad190ab0
15 lines
263 B
Bash
Executable file
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
|