diskimage-builder/tests/install_test_deps.sh

22 lines
424 B
Bash
Raw Normal View History

#!/bin/bash
set -eux
set -o pipefail
sudo apt-get update || true
sudo apt-get install -y \
debootstrap \
inetutils-ping \
kpartx \
qemu-utils \
uuid-runtime || \
sudo yum -y install \
debootstrap \
kpartx \
qemu-img || \
sudo emerge \
app-emulation/qemu \
dev-python/pyyaml \
sys-block/parted \
sys-fs/multipath-tools