25 lines
525 B
Bash
Executable file
25 lines
525 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -eux
|
|
set -o pipefail
|
|
|
|
sudo apt-get update || true
|
|
sudo apt-get install -y --force-yes \
|
|
apt-transport-https \
|
|
debootstrap \
|
|
docker.io \
|
|
inetutils-ping \
|
|
lsb-release \
|
|
kpartx \
|
|
qemu-utils \
|
|
uuid-runtime || \
|
|
sudo yum -y install \
|
|
debootstrap \
|
|
docker \
|
|
kpartx \
|
|
qemu-img || \
|
|
sudo emerge \
|
|
app-emulation/qemu \
|
|
dev-python/pyyaml \
|
|
sys-block/parted \
|
|
sys-fs/multipath-tools
|