[pve-devel] [PATCH manager 5/9] report: move `lscpu` & cluster info to more appropriate sections

Alexander Zeidler a.zeidler at proxmox.com
Fri Mar 22 14:59:29 CET 2024


Signed-off-by: Alexander Zeidler <a.zeidler at proxmox.com>
---
 PVE/Report.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/PVE/Report.pm b/PVE/Report.pm
index 2c2a5e12..505629c7 100644
--- a/PVE/Report.pm
+++ b/PVE/Report.pm
@@ -41,8 +41,6 @@ my $init_report_cmds = sub {
 		'cat /etc/apt/sources.list',
 		sub { dir2text('/etc/apt/sources.list.d/', '.+\.list') },
 		sub { dir2text('/etc/apt/sources.list.d/', '.+\.sources') },
-		'lscpu',
-		'pvesh get /cluster/resources --type node --output-format=yaml',
 	    ],
 	},
 	'system-load' => {
@@ -96,6 +94,7 @@ my $init_report_cmds = sub {
 	    order => 60,
 	    cmds => [
 		'pvecm nodes',
+		'pvesh get /cluster/resources --type node --output-format=yaml',
 		'pvecm status',
 		'cat /etc/pve/corosync.conf 2>/dev/null',
 		'ha-manager status',
@@ -106,6 +105,7 @@ my $init_report_cmds = sub {
 	    order => 70,
 	    cmds => [
 		'dmidecode -t bios',
+		'lscpu',
 		'lspci -nnk',
 	    ],
 	},
-- 
2.39.2





More information about the pve-devel mailing list