mirror of https://github.com/tteck/Proxmox.git
Compare commits
No commits in common. "5d64448ac20efec2cc0ea6d1c45e5332b87acca2" and "f5a1b23862a8b013fd56d7a7ddd6f8b253a8f978" have entirely different histories.
5d64448ac2
...
f5a1b23862
|
@ -99,22 +99,20 @@ EOF
|
|||
esac
|
||||
|
||||
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' and 'enterprise' 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'(enabled) and 'enterprise'(disabled) repositories.\n \nCorrect 'ceph package sources?" 14 58 2 \
|
||||
"yes" " " \
|
||||
"no" " " 3>&2 2>&1 1>&3)
|
||||
case $CHOICE in
|
||||
yes)
|
||||
msg_info "Correcting 'ceph package repositories'"
|
||||
msg_info "Enabling 'ceph package repositories'"
|
||||
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 no-subscription
|
||||
# deb http://download.proxmox.com/debian/ceph-reef bookworm enterprise
|
||||
# deb http://download.proxmox.com/debian/ceph-reef bookworm no-subscription
|
||||
deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription
|
||||
EOF
|
||||
msg_ok "Corrected 'ceph package repositories'"
|
||||
msg_ok "Enabled 'ceph package repositories'"
|
||||
;;
|
||||
no)
|
||||
msg_error "Selected no to Correcting 'ceph package repositories'"
|
||||
msg_error "Selected no to Enabling 'ceph package repositories'"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue