Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions debian/pve-mod.triggers
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
interest-noawait /usr/share/pve-manager/js
interest-noawait /usr/share/perl5/PVE
interest-noawait /usr/share/pve-yew-mobile-gui
11 changes: 1 addition & 10 deletions src/Scripts/pve-mod-configure
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ask() {
}
bool() { [[ "$1" == true ]] && echo 1 || echo 0; }

_load_conf_debug() {
_load_conf() {
[[ -f "$NODE_INFO_CONF" ]] || return 0
local in_debug=0 line key val
while IFS= read -r line; do
Expand Down Expand Up @@ -565,15 +565,6 @@ main() {
err "A legacy pve-mod bash-script installation was detected in Nodes.pm.\nRemove it first:\n bash /path/to/pve-mod-gui-sensors.sh uninstall"
fi

# ── Existing config notice ────────────────────────────────────────────────
if [[ -f "$CONF_FILE" ]]; then
local choice
choice=$(ask "Existing configuration found at $CONF_FILE — Reconfigure? (Y/n)")
case "$choice" in
[nN]) info "Keeping existing configuration."; exit 0 ;;
esac
fi

# ── Initialize all config variables with safe defaults ────────────────────
MOD_NODE_INFO=0; MOD_NAG_SCREEN=0
LM_SENSORS_ENABLED=0
Expand Down
4 changes: 2 additions & 2 deletions src/Scripts/test/fetch-proxmox-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ echo "deb [trusted=yes] http://download.proxmox.com/debian/pve $SUITE pve-no-sub
| sudo tee /etc/apt/sources.list.d/pve-test.list >/dev/null
sudo apt-get update -qq

echo "[fetch] Downloading pve-manager and proxmox-widget-toolkit..."
echo "[fetch] Downloading pve-manager, proxmox-widget-toolkit, and pve-yew-mobile-gui..."
cd "$WORKDIR"
apt-get download pve-manager proxmox-widget-toolkit
apt-get download pve-manager proxmox-widget-toolkit pve-yew-mobile-gui

echo "[fetch] Extracting to system paths..."
for deb in *.deb; do
Expand Down
2 changes: 1 addition & 1 deletion src/nag_screen/patches/01-proxmoxlib-js-nagscreen.patch
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@
+ orig_cmd();
},

assemble_field_data: function (values, data) {
assemble_field_data: function (values, data) {
13 changes: 6 additions & 7 deletions src/node_info/patches/02-nodes-pm-GPU-RRD-history.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- a/usr/share/perl5/PVE/API2/Nodes.pm
+++ b/usr/share/perl5/PVE/API2/Nodes.pm
--- usr/share/perl5/PVE/API2/Nodes.pm 2026-05-24 02:05:58.000000000 +0200
+++ /usr/share/perl5/PVE/API2/Nodes.pm 2026-06-13 16:29:47.810720485 +0200
@@ -251,6 +251,7 @@
{ name => 'report' },
{ name => 'rrd' }, # fixme: remove?
Expand All @@ -8,12 +8,10 @@
{ name => 'scan' },
{ name => 'sdn' },
{ name => 'services' },
@@ -878,6 +879,57 @@
"pve-node-9.0/$param->{node}", $param->{timeframe}, $param->{cf},
@@ -879,6 +880,56 @@
);
},
-});
+});
});
+
+__PACKAGE__->register_method({
+ name => 'gpurrddata',
Expand Down Expand Up @@ -65,4 +63,5 @@
+ },
+});

__PACKAGE__->register_method({
__PACKAGE__->register_method({
name => 'syslog',
2 changes: 1 addition & 1 deletion src/test.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
trigger workflow test 1, 2, 3, 4, 5
trigger workflow test 1, 2, 3, 4, 5, 6
Loading