diff --git a/debian/postinst b/debian/postinst index 0f6296c3..c4328dfe 100755 --- a/debian/postinst +++ b/debian/postinst @@ -120,6 +120,13 @@ case "$1" in fi done + # FIXME: remove after beta is over and add hunk to actively remove the repo + BETA_SOURCES="/etc/apt/sources.list.d/pvetest-for-beta.list" + if ! test -f "$BETA_SOURCES"; then + echo "Adding pvetest repo to '$BETA_SOURCES' to enable updates during Proxmox VE 7.0 beta" + echo "deb http://download.proxmox.com/debian/pve bullseye pvetest" | tee "$BETA_SOURCES" + fi + # FIXME: remove in PVE 8.0 if test ! -e /proxmox_install_mode && test -n "$2" && dpkg --compare-versions "$2" 'lt' '7~'; then # PVE 4.0 beta to 5.4 ISO had a bug and did not generated a unique machine-id. below is a