Compare commits

...

2 Commits

Author SHA1 Message Date
tteckster 5d64448ac2
Update post-pve-install.sh
tweak
2024-02-13 05:46:59 -05:00
tteckster 966ab2d26e
Update post-pve-install.sh
- add both Quincy and Reef Ceph repositories, both initially disabled
- fixes https://github.com/tteck/Proxmox/issues/2484
2024-02-13 05:35:43 -05:00
1 changed files with 7 additions and 5 deletions

View File

@ -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