Proxmox Backup Server Renaming and Update fix (#2012)

* Remaned PBS to long name Proxmox Backup Server and fixed install check

* Fix Name
This commit is contained in:
Thorsten 2025-02-04 13:22:57 +01:00 committed by GitHub
parent de45527d45
commit 0e5f663df5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 12 additions and 10 deletions

View File

@ -16,7 +16,7 @@ cat <<"EOF"
EOF
}
header_info
APP="PBS"
APP="Proxmox-Backup-Server"
var_tags="backup"
var_cpu="2"
var_ram="2048"
@ -37,7 +37,7 @@ function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -d /var ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -e /usr/sbin/proxmox-backup-manager ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_info "Updating $APP LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

View File

@ -14,9 +14,11 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y \
curl \
sudo \
gpg \
mc
msg_ok "Installed Dependencies"
msg_info "Installing Proxmox Backup Server"

View File

@ -1,12 +1,12 @@
{
"name": "Proxmox Backup Server",
"slug": "pbs",
"slug": "proxmox-backup-server",
"categories": [
1
],
"date_created": "2024-05-02",
"type": "ct",
"updateable": false,
"updateable": true,
"privileged": false,
"interface_port": 8007,
"documentation": "https://pbs.proxmox.com/docs/",
@ -16,7 +16,7 @@
"install_methods": [
{
"type": "default",
"script": "ct/pbs.sh",
"script": "ct/proxmox-backup-server.sh",
"resources": {
"cpu": 2,
"ram": 2048,
@ -27,12 +27,12 @@
}
],
"default_credentials": {
"username": null,
"username": "root",
"password": null
},
"notes": [
{
"text": "Set a root password if using autologin. This will be the PBS password. `sudo passwd root`",
"text": "Set a root password if using autologin. This will be the PBS password. `passwd root`",
"type": "warning"
}
]