add shell script to update server to ceph nautilus

This commit is contained in:
Nico Schottelius 2020-05-15 20:51:28 +02:00
parent 5a2e01d0ed
commit 1d3b786a0f
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
#!/bin/sh
rm -f /etc/apt/sources.list.d/ceph.list
cat > /etc/apt/sources.list <<EOF
deb http://pkgmaster.devuan.org/merged beowulf main contrib non-free
deb http://pkgmaster.devuan.org/merged beowulf-updates main contrib non-free
deb http://pkgmaster.devuan.org/merged beowulf-security main contrib non-free
EOF
echo deb http://ftp.debian.org/debian buster-backports main > /etc/apt/sources.list.d/backports.list
apt update
apt dist-upgrade -y
apt install -t buster-backports -y ceph