2019-08-31 10:00:01 +00:00
|
|
|
# Install QEMU
|
2019-08-31 10:13:44 +00:00
|
|
|
(git clone https://github.com/ahmedbilal/qemu-with-rbd-alpine.git \
|
|
|
|
&& cd qemu-with-rbd-alpine && apk add *.apk --allow-untrusted)
|
2019-08-31 10:00:01 +00:00
|
|
|
|
|
|
|
|
2019-08-28 08:07:21 +00:00
|
|
|
# Enable Alpine (3.10 + Edge) Repos
|
2019-08-28 08:12:50 +00:00
|
|
|
cat > /etc/apk/repositories << EOF
|
2019-08-28 08:07:21 +00:00
|
|
|
http://dl-cdn.alpinelinux.org/alpine/v3.10/main
|
|
|
|
http://dl-cdn.alpinelinux.org/alpine/v3.10/community
|
2019-08-28 07:13:05 +00:00
|
|
|
http://dl-cdn.alpinelinux.org/alpine/edge/main
|
|
|
|
http://dl-cdn.alpinelinux.org/alpine/edge/community
|
|
|
|
http://dl-cdn.alpinelinux.org/alpine/edge/testing
|
2019-08-28 08:12:50 +00:00
|
|
|
EOF
|
2019-08-27 08:48:07 +00:00
|
|
|
|
|
|
|
|
2019-08-28 07:13:05 +00:00
|
|
|
# Update Package List and Upgrade System
|
2019-08-27 08:44:13 +00:00
|
|
|
apk update
|
|
|
|
apk upgrade
|
2019-08-28 07:13:05 +00:00
|
|
|
|
|
|
|
# Install system packages
|
2019-08-31 10:57:53 +00:00
|
|
|
apk add python3 ceph py2-pip py3-pip etcd-ctl
|
2019-08-28 18:43:51 +00:00
|
|
|
|
|
|
|
# Some python package dependencies
|
2019-08-29 10:53:07 +00:00
|
|
|
apk add libffi-dev openssl-dev make alpine-sdk gcc g++ python3-dev
|
2019-08-28 07:13:05 +00:00
|
|
|
|
2019-08-31 10:57:53 +00:00
|
|
|
apk add py3-grpcio py3-protobuf py3-tempita
|
2019-08-30 17:21:56 +00:00
|
|
|
|
2019-08-27 08:43:30 +00:00
|
|
|
pip3 install --upgrade pip
|
2019-08-29 10:53:07 +00:00
|
|
|
pip2 install --upgrade pip
|
|
|
|
|
|
|
|
# For CEPH
|
|
|
|
pip2 install prettytable
|
|
|
|
|
2019-08-29 18:14:51 +00:00
|
|
|
pip3 install pipenv
|
2019-08-29 17:52:09 +00:00
|
|
|
|
2019-08-31 10:57:53 +00:00
|
|
|
pipenv install
|