Skip to content

Commit ee62a56

Browse files
add: pve-datacenter-manager (#947)
* add: pve-datacenter-manager * fix: scheming * add: warn pre-alpha-state * fix: naming & pve gpg key * fix: naming * fix: naming & correct install path * Fix Tag --------- Co-authored-by: CanbiZ <[email protected]>
1 parent b8885e8 commit ee62a56

File tree

3 files changed

+129
-0
lines changed

3 files changed

+129
-0
lines changed

ct/proxmox-datacenter-manager.sh

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
#!/usr/bin/env bash
2+
source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/raw/main/misc/build.func)
3+
# Copyright (c) 2021-2024 community-scripts ORG
4+
# Author: CrazyWolf13
5+
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
6+
# Source: Proxmox Server Solution GmbH
7+
8+
# App Default Values
9+
APP="proxmox-datacenter-manager"
10+
var_tags="datacenter"
11+
var_cpu="2"
12+
var_ram="2048"
13+
var_disk="10"
14+
var_os="debian"
15+
var_version="12"
16+
var_unprivileged="1"
17+
18+
# App Output & Base Settings
19+
header_info "$APP"
20+
base_settings
21+
22+
# Core
23+
variables
24+
color
25+
catch_errors
26+
27+
function update_script() {
28+
header_info
29+
check_container_storage
30+
check_container_resources
31+
if [[ ! -e /usr/sbin/proxmox-datacenter-manager-admin ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
32+
msg_info "Updating $APP LXC"
33+
apt-get update &>/dev/null
34+
apt-get -y upgrade &>/dev/null
35+
msg_ok "Updated $APP LXC"
36+
exit
37+
}
38+
39+
start
40+
build_container
41+
description
42+
43+
msg_ok "Completed Successfully!\n"
44+
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
45+
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
46+
echo -e "${TAB}${GATEWAY}${BGN}https://${IP}:8443${CL}"
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#!/usr/bin/env bash
2+
3+
# Copyright (c) 2021-2024 community-scripts ORG
4+
# Author: CrazyWolf13
5+
# License: MIT
6+
# Source: Proxmox Server Solution GmbH
7+
8+
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
9+
color
10+
verb_ip6
11+
catch_errors
12+
setting_up_container
13+
network_check
14+
update_os
15+
16+
msg_info "Installing Dependencies"
17+
$STD apt-get install -y \
18+
curl \
19+
sudo \
20+
gpg \
21+
mc
22+
msg_ok "Installed Dependencies"
23+
24+
msg_info "Installing Proxmox Datacenter Manager"
25+
curl -fsSL https://enterprise.proxmox.com/debian/proxmox-release-bookworm.gpg | gpg --dearmor -o /etc/apt/keyrings/proxmox-release-bookworm.gpg
26+
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
27+
$STD apt-get update
28+
$STD apt-get install -y \
29+
proxmox-datacenter-manager \
30+
proxmox-datacenter-manager-ui
31+
msg_ok "Installed Proxmox Datacenter Manager"
32+
33+
motd_ssh
34+
customize
35+
36+
msg_info "Cleaning up"
37+
$STD apt-get -y autoremove
38+
$STD apt-get -y autoclean
39+
msg_ok "Cleaned"
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"name": "Proxmox Datacenter Manager",
3+
"slug": "proxmox-datacenter-manager",
4+
"categories": [
5+
11,
6+
1
7+
],
8+
"date_created": "2024-12-20",
9+
"type": "ct",
10+
"updateable": true,
11+
"privileged": false,
12+
"interface_port": 8443,
13+
"documentation": "https://pve.proxmox.com/wiki/Proxmox_Datacenter_Manager_Roadmap",
14+
"website": "https://pve.proxmox.com/wiki/Proxmox_Datacenter_Manager_Roadmap",
15+
"logo": "https://raw.githubusercontent.com/home-assistant/brands/master/core_integrations/proxmoxve/icon.png",
16+
"description": "The Proxmox Datacenter Manager project has been developed with the objective of providing a centralized overview of all your individual nodes and clusters. It also enables basic management like migrations of virtual guests without any cluster network requirements. ",
17+
"install_methods": [
18+
{
19+
"type": "default",
20+
"script": "ct/proxmox-datacenter-manager.sh",
21+
"resources": {
22+
"cpu": 2,
23+
"ram": 2048,
24+
"hdd": 10,
25+
"os": "Debian",
26+
"version": "12"
27+
}
28+
}
29+
],
30+
"default_credentials": {
31+
"username": null,
32+
"password": null
33+
},
34+
"notes": [
35+
{
36+
"text": "Set a root password if using autologin. This will be the Proxmox-Datacenter-Manager password. `sudo passwd root`",
37+
"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"
42+
}
43+
]
44+
}

0 commit comments

Comments
 (0)