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 \
|
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 || \
|
2016-01-19 02:04:34 +00:00
|
|
|
sudo yum -y install \
|
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 \
|
2016-01-19 02:04:34 +00:00
|
|
|
kpartx \
|
2016-07-16 20:16:13 +00:00
|
|
|
util-linux \
|
2016-05-01 01:56:01 +00:00
|
|
|
qemu-img || \
|
2017-05-28 20:59:11 +00:00
|
|
|
sudo zypper -n install \
|
|
|
|
bzip2 \
|
|
|
|
debootstrap \
|
|
|
|
docker \
|
|
|
|
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 \
|
2015-05-07 21:49:09 +00:00
|
|
|
sys-fs/multipath-tools \
|
|
|
|
qemu-img \
|
|
|
|
yum-utils
|