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 04:59:14 +00:00
|
|
|
bzip2 \
|
2016-01-19 02:04:34 +00:00
|
|
|
debootstrap \
|
2016-02-09 18:34:55 +00:00
|
|
|
docker.io \
|
2018-01-15 03:44:10 +00: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 22:44:49 +00:00
|
|
|
qemu-utils \
|
2015-05-07 21:49:09 +00:00
|
|
|
rpm \
|
|
|
|
uuid-runtime \
|
|
|
|
yum-utils || \
|
2017-11-28 00:16:42 +00:00
|
|
|
sudo yum -y install --enablerepo=epel \
|
2017-05-04 04:59:14 +00:00
|
|
|
bzip2 \
|
2017-11-28 00:16:42 +00:00
|
|
|
dpkg \
|
2016-01-19 02:04:34 +00:00
|
|
|
debootstrap \
|
2016-02-09 18:34:55 +00:00
|
|
|
docker \
|
2018-01-15 03:44:10 +00:00
|
|
|
dosfstools \
|
|
|
|
gdisk \
|
2016-01-19 02:04:34 +00:00
|
|
|
kpartx \
|
2016-07-16 20:16:13 +00:00
|
|
|
util-linux \
|
2017-07-31 23:47:50 +00:00
|
|
|
qemu-img \
|
|
|
|
policycoreutils-python || \
|
2017-05-28 20:59:11 +00:00
|
|
|
sudo zypper -n install \
|
|
|
|
bzip2 \
|
|
|
|
debootstrap \
|
|
|
|
docker \
|
2018-01-15 03:44:10 +00:00
|
|
|
dosfstools \
|
|
|
|
gdisk \
|
2017-05-28 20:59:11 +00:00
|
|
|
kpartx \
|
|
|
|
util-linux \
|
|
|
|
python-pyliblzma \
|
|
|
|
yum-utils \
|
|
|
|
qemu-tools || \
|
2016-05-01 01:56:01 +00:00
|
|
|
sudo emerge \
|
2017-05-04 04:59:14 +00:00
|
|
|
app-arch/bzip2 \
|
2016-05-01 01:56:01 +00:00
|
|
|
app-emulation/qemu \
|
|
|
|
dev-python/pyyaml \
|
|
|
|
sys-block/parted \
|
2018-01-15 03:44:10 +00:00
|
|
|
sys-apps/gptfdisk \
|
2015-05-07 21:49:09 +00:00
|
|
|
sys-fs/multipath-tools \
|
2018-01-15 03:44:10 +00:00
|
|
|
sys-fs/dosfstools \
|
2015-05-07 21:49:09 +00:00
|
|
|
qemu-img \
|
|
|
|
yum-utils
|