From 03d4db26b6da4ee4ec9419458f2d5fc79a8cdf4c Mon Sep 17 00:00:00 2001 From: Tobias Date: Fri, 20 Dec 2024 20:49:20 +0100 Subject: [PATCH] fix: naming & pve gpg key --- ct/{pdm.sh => proxmox-datacenter-manager.sh} | 4 ++-- ...all.sh => proxmox-datacenter-manager-install.sh} | 13 ++++++------- json/{pdm.json => proxmox-datacenter-manager.json} | 4 ++-- 3 files changed, 10 insertions(+), 11 deletions(-) rename ct/{pdm.sh => proxmox-datacenter-manager.sh} (91%) rename install/{pdm-install.sh => proxmox-datacenter-manager-install.sh} (54%) rename json/{pdm.json => proxmox-datacenter-manager.json} (93%) diff --git a/ct/pdm.sh b/ct/proxmox-datacenter-manager.sh similarity index 91% rename from ct/pdm.sh rename to ct/proxmox-datacenter-manager.sh index 4aec6cae..3eb74874 100644 --- a/ct/pdm.sh +++ b/ct/proxmox-datacenter-manager.sh @@ -3,10 +3,10 @@ source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/r # Copyright (c) 2021-2024 community-scripts ORG # Author: CrazyWolf13 # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://forum.proxmox.com/threads/proxmox-datacenter-manager-first-alpha-release.159323/ +# Source: Proxmox Server Solution GmbH # App Default Values -APP="PDM" +APP="proxmox-datacenter-manager" var_tags="backup" var_cpu="2" var_ram="2048" diff --git a/install/pdm-install.sh b/install/proxmox-datacenter-manager-install.sh similarity index 54% rename from install/pdm-install.sh rename to install/proxmox-datacenter-manager-install.sh index 848b6c93..8cd86edd 100644 --- a/install/pdm-install.sh +++ b/install/proxmox-datacenter-manager-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2024 community-scripts ORG # Author: CrazyWolf13 # License: MIT -# Source: https://forum.proxmox.com/threads/proxmox-datacenter-manager-first-alpha-release.159323/ +# Source: Proxmox Server Solution GmbH source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" color @@ -17,19 +17,18 @@ msg_info "Installing Dependencies" $STD apt-get install -y \ curl \ sudo \ + gpg \ mc msg_ok "Installed Dependencies" -msg_info "Installing Proxmox Backup Server" -wget -q https://enterprise.proxmox.com/debian/proxmox-release-bookworm.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg -cat <>/etc/apt/sources.list -deb http://download.proxmox.com/debian/pdm bookworm pdm-test -EOF +msg_info "Installing Proxmox Datacenter Manager" +curl -fsSL https://enterprise.proxmox.com/debian/proxmox-release-bookworm.gpg | gpg --dearmor -o /etc/apt/keyrings/proxmox-release-bookworm.gpg +echo "deb [signed-by=/etc/apt/keyrings/proxmox-release-bookworm.gpg] http://download.proxmox.com/debian/pdm bookworm pdm-test " >/etc/apt/sources.list.d/proxmox-release-bookworm.list $STD apt-get update $STD apt-get install -y \ proxmox-datacenter-manager \ proxmox-datacenter-manager-ui -msg_ok "Installed Proxmox Backup Server" +msg_ok "Installed Proxmox Datacenter Manager" motd_ssh customize diff --git a/json/pdm.json b/json/proxmox-datacenter-manager.json similarity index 93% rename from json/pdm.json rename to json/proxmox-datacenter-manager.json index e9f66d81..e3c4d1b5 100644 --- a/json/pdm.json +++ b/json/proxmox-datacenter-manager.json @@ -1,6 +1,6 @@ { "name": "Proxmox Datacenter Manager", - "slug": "pdm", + "slug": "proxmox-datacenter-manager", "categories": [ 11, 1 @@ -17,7 +17,7 @@ "install_methods": [ { "type": "default", - "script": "ct/pdm.sh", + "script": "ct/proxmox-datacenter-manager.sh", "resources": { "cpu": 2, "ram": 2048,