26 lines
525 B
Bash
Executable File
26 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
|