mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-03 15:34:19 +00:00
d/postinst: setup pvetest repo for beta
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
383b901ab5
commit
6e3ca3d351
7
debian/postinst
vendored
7
debian/postinst
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user