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 \
|
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 \
|
|
|
|
debootstrap \
|
2016-02-09 18:34:55 +00:00
|
|
|
docker \
|
2016-01-19 02:04:34 +00:00
|
|
|
kpartx \
|
2016-05-01 01:56:01 +00:00
|
|
|
qemu-img || \
|
|
|
|
sudo emerge \
|
|
|
|
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
|