Use Ceph Reef repo while deploying K8s

Reef is compatible with Focal and Jammy

Change-Id: Ic98a5824a319e4835aa3df2a8e68a1daef97392c
This commit is contained in:
Vladimir Kozhukalov 2023-09-06 19:17:17 +03:00
parent d29efccdbb
commit b0d659f9b2

View File

@ -135,7 +135,7 @@ fi
# Install required packages for K8s on host # Install required packages for K8s on host
wget -q -O- 'https://download.ceph.com/keys/release.asc' | sudo apt-key add - wget -q -O- 'https://download.ceph.com/keys/release.asc' | sudo apt-key add -
RELEASE_NAME=$(grep 'CODENAME' /etc/lsb-release | awk -F= '{print $2}') RELEASE_NAME=$(grep 'CODENAME' /etc/lsb-release | awk -F= '{print $2}')
sudo add-apt-repository "deb https://download.ceph.com/debian-nautilus/ sudo add-apt-repository "deb https://download.ceph.com/debian-reef/
${RELEASE_NAME} main" ${RELEASE_NAME} main"
sudo -E apt-get update sudo -E apt-get update