Skip to content

Commit 0e5f663

Browse files
authored
Proxmox Backup Server Renaming and Update fix (#2012)
* Remaned PBS to long name Proxmox Backup Server and fixed install check * Fix Name
1 parent de45527 commit 0e5f663

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

ct/pbs.sh renamed to ct/proxmox-backup-server.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ cat <<"EOF"
1616
EOF
1717
}
1818
header_info
19-
APP="PBS"
19+
APP="Proxmox-Backup-Server"
2020
var_tags="backup"
2121
var_cpu="2"
2222
var_ram="2048"
@@ -37,7 +37,7 @@ function update_script() {
3737
header_info
3838
check_container_storage
3939
check_container_resources
40-
if [[ ! -d /var ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
40+
if [[ ! -e /usr/sbin/proxmox-backup-manager ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
4141
msg_info "Updating $APP LXC"
4242
apt-get update &>/dev/null
4343
apt-get -y upgrade &>/dev/null
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ network_check
1414
update_os
1515

1616
msg_info "Installing Dependencies"
17-
$STD apt-get install -y curl
18-
$STD apt-get install -y sudo
19-
$STD apt-get install -y mc
17+
$STD apt-get install -y \
18+
curl \
19+
sudo \
20+
gpg \
21+
mc
2022
msg_ok "Installed Dependencies"
2123

2224
msg_info "Installing Proxmox Backup Server"

json/pbs.json renamed to json/proxmox-backup-server.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "Proxmox Backup Server",
3-
"slug": "pbs",
3+
"slug": "proxmox-backup-server",
44
"categories": [
55
1
66
],
77
"date_created": "2024-05-02",
88
"type": "ct",
9-
"updateable": false,
9+
"updateable": true,
1010
"privileged": false,
1111
"interface_port": 8007,
1212
"documentation": "https://pbs.proxmox.com/docs/",
@@ -16,7 +16,7 @@
1616
"install_methods": [
1717
{
1818
"type": "default",
19-
"script": "ct/pbs.sh",
19+
"script": "ct/proxmox-backup-server.sh",
2020
"resources": {
2121
"cpu": 2,
2222
"ram": 2048,
@@ -27,12 +27,12 @@
2727
}
2828
],
2929
"default_credentials": {
30-
"username": null,
30+
"username": "root",
3131
"password": null
3232
},
3333
"notes": [
3434
{
35-
"text": "Set a root password if using autologin. This will be the PBS password. `sudo passwd root`",
35+
"text": "Set a root password if using autologin. This will be the PBS password. `passwd root`",
3636
"type": "warning"
3737
}
3838
]

0 commit comments

Comments
 (0)