fix: use official Signed-By path & revert install script cleanup

- Change Signed-By from /etc/apt/keyrings/pmg.gpg to
  /usr/share/keyrings/proxmox-archive-keyring.gpg in all three
  PMG repo creation blocks (enterprise, no-subscription, test),
  matching official PMG docs and PVE post-install convention
- Remove APT source cleanup from install script (handled by
  post-pmg-install instead)
This commit is contained in:
CanbiZ (MickLesk)
2026-04-20 09:16:46 +02:00
parent 42f15f9438
commit 23df5ddaef
2 changed files with 3 additions and 9 deletions
-6
View File
@@ -22,12 +22,6 @@ setup_deb822_repo \
"pmg-no-subscription" "pmg-no-subscription"
$STD apt install -y proxmox-mailgateway-container $STD apt install -y proxmox-mailgateway-container
msg_info "Cleaning up duplicate APT sources"
rm -f /etc/apt/sources.list.d/pmg-enterprise.list
rm -f /etc/apt/sources.list.d/pmg-install-repo.list
[[ -f /etc/apt/sources.list.d/debian.sources ]] && : >/etc/apt/sources.list
msg_ok "Cleaned up duplicate APT sources"
msg_ok "Installed Proxmox Mail Gateway" msg_ok "Installed Proxmox Mail Gateway"
motd_ssh motd_ssh
+3 -3
View File
@@ -196,7 +196,7 @@ Types: deb
URIs: https://enterprise.proxmox.com/debian/pmg URIs: https://enterprise.proxmox.com/debian/pmg
Suites: ${VERSION} Suites: ${VERSION}
Components: pmg-enterprise Components: pmg-enterprise
Signed-By: /etc/apt/keyrings/pmg.gpg Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
EOF EOF
msg_ok "Added 'pmg-enterprise' repository" msg_ok "Added 'pmg-enterprise' repository"
;; ;;
@@ -264,7 +264,7 @@ Types: deb
URIs: http://download.proxmox.com/debian/pmg URIs: http://download.proxmox.com/debian/pmg
Suites: ${VERSION} Suites: ${VERSION}
Components: pmg-no-subscription Components: pmg-no-subscription
Signed-By: /etc/apt/keyrings/pmg.gpg Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
EOF EOF
msg_ok "Added 'pmg-no-subscription' repository" msg_ok "Added 'pmg-no-subscription' repository"
;; ;;
@@ -291,7 +291,7 @@ Types: deb
URIs: http://download.proxmox.com/debian/pmg URIs: http://download.proxmox.com/debian/pmg
Suites: ${VERSION} Suites: ${VERSION}
Components: pmgtest Components: pmgtest
Signed-By: /etc/apt/keyrings/pmg.gpg Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
Enabled: no Enabled: no
EOF EOF
msg_ok "Added 'pmgtest' repository" msg_ok "Added 'pmgtest' repository"