update pdm repo to stable (#9648)

This commit is contained in:
Tobias 2025-12-04 22:00:02 +01:00 committed by GitHub
parent 775caae9c9
commit 268464781e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 22 additions and 4 deletions

View File

@ -37,6 +37,20 @@ function update_script() {
msg_ok "Updated old sources" msg_ok "Updated old sources"
fi fi
if grep -q 'Debian GNU/Linux 13' /etc/os-release; then
if [ -f "/etc/apt/sources.list.d/pdm-test.sources" ]; then
if ! grep -qx "Enabled: false" "/etc/apt/sources.list.d/pdm-test.sources"; then
echo "Enabled: false" >> "/etc/apt/sources.list.d/pdm-test.sources"
setup_deb822_repo \
"pdm" \
"https://enterprise.proxmox.com/debian/proxmox-archive-keyring-trixie.gpg" \
"http://download.proxmox.com/debian/pdm" \
"trixie" \
"pdm-no-subscription"
fi
fi
fi
msg_info "Updating $APP LXC" msg_info "Updating $APP LXC"
$STD apt update $STD apt update
$STD apt -y upgrade $STD apt -y upgrade

View File

@ -35,10 +35,6 @@
{ {
"text": "Set a root password if using autologin. This will be the Proxmox-Datacenter-Manager password. `sudo passwd root`", "text": "Set a root password if using autologin. This will be the Proxmox-Datacenter-Manager password. `sudo passwd root`",
"type": "info" "type": "info"
},
{
"text": "Proxmox Datacenter Manager is in an alpha stage of development. Use it cautiously, as bugs, incomplete features, and potential instabilities are expected.",
"type": "warning"
} }
] ]
} }

View File

@ -15,12 +15,20 @@ update_os
msg_info "Installing Proxmox Datacenter Manager" msg_info "Installing Proxmox Datacenter Manager"
curl -fsSL https://enterprise.proxmox.com/debian/proxmox-archive-keyring-trixie.gpg -o /usr/share/keyrings/proxmox-archive-keyring.gpg curl -fsSL https://enterprise.proxmox.com/debian/proxmox-archive-keyring-trixie.gpg -o /usr/share/keyrings/proxmox-archive-keyring.gpg
setup_deb822_repo \
"pdm" \
"https://enterprise.proxmox.com/debian/proxmox-archive-keyring-trixie.gpg" \
"http://download.proxmox.com/debian/pdm" \
"trixie" \
"pdm-no-subscription"
cat <<EOF >/etc/apt/sources.list.d/pdm-test.sources cat <<EOF >/etc/apt/sources.list.d/pdm-test.sources
Types: deb Types: deb
URIs: http://download.proxmox.com/debian/pdm URIs: http://download.proxmox.com/debian/pdm
Suites: trixie Suites: trixie
Components: pdm-test Components: pdm-test
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
Enabled: false
EOF EOF
$STD apt update $STD apt update
DEBIAN_FRONTEND=noninteractive DEBIAN_FRONTEND=noninteractive