mirror of https://github.com/tteck/Proxmox.git
Compare commits
2 Commits
f5a1b23862
...
5d64448ac2
Author | SHA1 | Date |
---|---|---|
|
5d64448ac2 | |
|
966ab2d26e |
|
@ -99,20 +99,22 @@ EOF
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [[ "${VERSION}" == "bookworm" ]]; then
|
if [[ "${VERSION}" == "bookworm" ]]; then
|
||||||
CHOICE=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "CEPH PACKAGE REPOSITORIES" --menu "The 'Ceph Package Repositories' provides access to both the 'no-subscription'(enabled) and 'enterprise'(disabled) repositories.\n \nCorrect 'ceph package sources?" 14 58 2 \
|
CHOICE=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "CEPH PACKAGE REPOSITORIES" --menu "The 'Ceph Package Repositories' provides access to both the 'no-subscription' and 'enterprise' repositories.\n \nCorrect 'ceph package sources?" 14 58 2 \
|
||||||
"yes" " " \
|
"yes" " " \
|
||||||
"no" " " 3>&2 2>&1 1>&3)
|
"no" " " 3>&2 2>&1 1>&3)
|
||||||
case $CHOICE in
|
case $CHOICE in
|
||||||
yes)
|
yes)
|
||||||
msg_info "Enabling 'ceph package repositories'"
|
msg_info "Correcting 'ceph package repositories'"
|
||||||
cat <<EOF >/etc/apt/sources.list.d/ceph.list
|
cat <<EOF >/etc/apt/sources.list.d/ceph.list
|
||||||
# deb http://download.proxmox.com/debian/ceph-quincy bookworm enterprise
|
# deb http://download.proxmox.com/debian/ceph-quincy bookworm enterprise
|
||||||
deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription
|
# deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription
|
||||||
|
# deb http://download.proxmox.com/debian/ceph-reef bookworm enterprise
|
||||||
|
# deb http://download.proxmox.com/debian/ceph-reef bookworm no-subscription
|
||||||
EOF
|
EOF
|
||||||
msg_ok "Enabled 'ceph package repositories'"
|
msg_ok "Corrected 'ceph package repositories'"
|
||||||
;;
|
;;
|
||||||
no)
|
no)
|
||||||
msg_error "Selected no to Enabling 'ceph package repositories'"
|
msg_error "Selected no to Correcting 'ceph package repositories'"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue