* [pve-devel] [PATCH manager] report: fix regex of config filenames
@ 2024-04-18 7:44 Alexander Zeidler
2024-04-18 20:28 ` [pve-devel] applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Zeidler @ 2024-04-18 7:44 UTC (permalink / raw)
To: pve-devel
to only match those that are correct/accepted by their software
Signed-off-by: Alexander Zeidler <a.zeidler@proxmox.com>
---
PVE/Report.pm | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/PVE/Report.pm b/PVE/Report.pm
index 9c46aa9b..53ffdcbb 100644
--- a/PVE/Report.pm
+++ b/PVE/Report.pm
@@ -35,8 +35,8 @@ my $init_report_cmds = sub {
'cat /etc/hosts',
'pvesubscription get',
'cat /etc/apt/sources.list',
- sub { dir2text('/etc/apt/sources.list.d/', '.*list') },
- sub { dir2text('/etc/apt/sources.list.d/', '.*sources') },
+ 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',
],
@@ -64,9 +64,9 @@ my $init_report_cmds = sub {
order => 40,
cmds => [
'qm list',
- sub { dir2text('/etc/pve/qemu-server/', '\d.*conf') },
+ sub { dir2text('/etc/pve/qemu-server/', '\d+\.conf') },
'pct list',
- sub { dir2text('/etc/pve/lxc/', '\d.*conf') },
+ sub { dir2text('/etc/pve/lxc/', '\d+\.conf') },
],
},
network => {
@@ -83,7 +83,7 @@ my $init_report_cmds = sub {
firewall => {
order => 50,
cmds => [
- sub { dir2text('/etc/pve/firewall/', '.*fw') },
+ sub { dir2text('/etc/pve/firewall/', '.+\.fw') },
'cat /etc/pve/local/host.fw',
'iptables-save -c | column -t -l4 -o" "',
],
--
2.39.2
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* [pve-devel] applied: [PATCH manager] report: fix regex of config filenames
2024-04-18 7:44 [pve-devel] [PATCH manager] report: fix regex of config filenames Alexander Zeidler
@ 2024-04-18 20:28 ` Thomas Lamprecht
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2024-04-18 20:28 UTC (permalink / raw)
To: Proxmox VE development discussion, Alexander Zeidler
Am 18/04/2024 um 09:44 schrieb Alexander Zeidler:
> to only match those that are correct/accepted by their software
>
> Signed-off-by: Alexander Zeidler <a.zeidler@proxmox.com>
> ---
> PVE/Report.pm | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
>
applied, thanks!
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-04-18 20:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-18 7:44 [pve-devel] [PATCH manager] report: fix regex of config filenames Alexander Zeidler
2024-04-18 20:28 ` [pve-devel] applied: " Thomas Lamprecht
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal