2015-05-01 21:33:55 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -eux
|
|
|
|
set -o pipefail
|
|
|
|
|
|
|
|
sudo apt-get update || true
|
2016-02-09 18:34:55 +00:00
|
|
|
sudo apt-get install -y --force-yes \
|
|
|
|
apt-transport-https \
|
2017-05-04 14:59:14 +10:00
|
|
|
bzip2 \
|
2016-01-19 02:04:34 +00:00
|
|
|
debootstrap \
|
2016-02-09 18:34:55 +00:00
|
|
|
docker.io \
|
2018-01-15 14:44:10 +11:00
|
|
|
dosfstools \
|
|
|
|
gdisk \
|
2016-01-19 02:04:34 +00:00
|
|
|
inetutils-ping \
|
2016-02-09 18:34:55 +00:00
|
|
|
lsb-release \
|
2016-01-19 02:04:34 +00:00
|
|
|
kpartx \
|
2015-05-07 21:49:09 +00:00
|
|
|
python-lzma \
|
2016-03-09 16:44:49 -06:00
|
|
|
qemu-utils \
|
2015-05-07 21:49:09 +00:00
|
|
|
rpm \
|
|
|
|
uuid-runtime \
|
|
|
|
yum-utils || \
|
2017-11-27 16:16:42 -08:00
|
|
|
sudo yum -y install --enablerepo=epel \
|
2017-05-04 14:59:14 +10:00
|
|
|
bzip2 \
|
2017-11-27 16:16:42 -08:00
|
|
|
dpkg \
|
2016-01-19 02:04:34 +00:00
|
|
|
debootstrap \
|
2016-02-09 18:34:55 +00:00
|
|
|
docker \
|
2018-01-15 14:44:10 +11:00
|
|
|
dosfstools \
|
|
|
|
gdisk \
|
2016-01-19 02:04:34 +00:00
|
|
|
kpartx \
|
2016-07-16 22:16:13 +02:00
|
|
|
util-linux \
|
2017-08-01 09:47:50 +10:00
|
|
|
qemu-img \
|
|
|
|
policycoreutils-python || \
|
2017-05-28 22:59:11 +02:00
|
|
|
sudo zypper -n install \
|
|
|
|
bzip2 \
|
|
|
|
debootstrap \
|
|
|
|
docker \
|
2018-01-15 14:44:10 +11:00
|
|
|
dosfstools \
|
|
|
|
gdisk \
|
2017-05-28 22:59:11 +02:00
|
|
|
kpartx \
|
|
|
|
util-linux \
|
|
|
|
python-pyliblzma \
|
|
|
|
yum-utils \
|
|
|
|
qemu-tools || \
|
2016-04-30 20:56:01 -05:00
|
|
|
sudo emerge \
|
2017-05-04 14:59:14 +10:00
|
|
|
app-arch/bzip2 \
|
2016-04-30 20:56:01 -05:00
|
|
|
app-emulation/qemu \
|
|
|
|
dev-python/pyyaml \
|
|
|
|
sys-block/parted \
|
2018-01-15 14:44:10 +11:00
|
|
|
sys-apps/gptfdisk \
|
2015-05-07 21:49:09 +00:00
|
|
|
sys-fs/multipath-tools \
|
2018-01-15 14:44:10 +11:00
|
|
|
sys-fs/dosfstools \
|
2015-05-07 21:49:09 +00:00
|
|
|
qemu-img \
|
|
|
|
yum-utils
|