Skip to content

Commit 2684647

Browse files
authored
update pdm repo to stable (#9648)
1 parent 775caae commit 2684647

File tree

3 files changed

+22
-4
lines changed

3 files changed

+22
-4
lines changed

ct/proxmox-datacenter-manager.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,20 @@ function update_script() {
3737
msg_ok "Updated old sources"
3838
fi
3939

40+
if grep -q 'Debian GNU/Linux 13' /etc/os-release; then
41+
if [ -f "/etc/apt/sources.list.d/pdm-test.sources" ]; then
42+
if ! grep -qx "Enabled: false" "/etc/apt/sources.list.d/pdm-test.sources"; then
43+
echo "Enabled: false" >> "/etc/apt/sources.list.d/pdm-test.sources"
44+
setup_deb822_repo \
45+
"pdm" \
46+
"https://enterprise.proxmox.com/debian/proxmox-archive-keyring-trixie.gpg" \
47+
"http://download.proxmox.com/debian/pdm" \
48+
"trixie" \
49+
"pdm-no-subscription"
50+
fi
51+
fi
52+
fi
53+
4054
msg_info "Updating $APP LXC"
4155
$STD apt update
4256
$STD apt -y upgrade

frontend/public/json/proxmox-datacenter-manager.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@
3535
{
3636
"text": "Set a root password if using autologin. This will be the Proxmox-Datacenter-Manager password. `sudo passwd root`",
3737
"type": "info"
38-
},
39-
{
40-
"text": "Proxmox Datacenter Manager is in an alpha stage of development. Use it cautiously, as bugs, incomplete features, and potential instabilities are expected.",
41-
"type": "warning"
4238
}
4339
]
4440
}

install/proxmox-datacenter-manager-install.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,20 @@ update_os
1515

1616
msg_info "Installing Proxmox Datacenter Manager"
1717
curl -fsSL https://enterprise.proxmox.com/debian/proxmox-archive-keyring-trixie.gpg -o /usr/share/keyrings/proxmox-archive-keyring.gpg
18+
setup_deb822_repo \
19+
"pdm" \
20+
"https://enterprise.proxmox.com/debian/proxmox-archive-keyring-trixie.gpg" \
21+
"http://download.proxmox.com/debian/pdm" \
22+
"trixie" \
23+
"pdm-no-subscription"
24+
1825
cat <<EOF >/etc/apt/sources.list.d/pdm-test.sources
1926
Types: deb
2027
URIs: http://download.proxmox.com/debian/pdm
2128
Suites: trixie
2229
Components: pdm-test
2330
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
31+
Enabled: false
2432
EOF
2533
$STD apt update
2634
DEBIAN_FRONTEND=noninteractive

0 commit comments

Comments
 (0)