From 803088522a5e68c627e3078e380146acf50c8757 Mon Sep 17 00:00:00 2001 From: Meliox Date: Sat, 13 Jun 2026 16:34:51 +0200 Subject: [PATCH] remove existing config prompt --- src/Scripts/pve-mod-configure | 9 --------- .../patches/02-nodes-pm-GPU-RRD-history.patch | 13 ++++++------- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/src/Scripts/pve-mod-configure b/src/Scripts/pve-mod-configure index 65d0e1d..ab66c09 100644 --- a/src/Scripts/pve-mod-configure +++ b/src/Scripts/pve-mod-configure @@ -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 diff --git a/src/node_info/patches/02-nodes-pm-GPU-RRD-history.patch b/src/node_info/patches/02-nodes-pm-GPU-RRD-history.patch index 1cfe758..6d3571f 100644 --- a/src/node_info/patches/02-nodes-pm-GPU-RRD-history.patch +++ b/src/node_info/patches/02-nodes-pm-GPU-RRD-history.patch @@ -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? @@ -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', @@ -65,4 +63,5 @@ + }, +}); - __PACKAGE__->register_method({ \ No newline at end of file + __PACKAGE__->register_method({ + name => 'syslog',