and place the container cgroupv2 support checks behind it. Signed-off-by: Stoiko Ivanov <s.iva...@proxmox.com> --- PVE/CLI/pve6to7.pm | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/PVE/CLI/pve6to7.pm b/PVE/CLI/pve6to7.pm index b9aeb89c..5e97a3c5 100644 --- a/PVE/CLI/pve6to7.pm +++ b/PVE/CLI/pve6to7.pm @@ -1119,6 +1119,12 @@ __PACKAGE__->register_method ({ parameters => { additionalProperties => 0, properties => { + full => { + description => 'perform additional, expensive checks.', + type => 'boolean', + optional => 1, + default => 0, + }, }, }, returns => { type => 'null' }, @@ -1131,6 +1137,12 @@ __PACKAGE__->register_method ({ check_storage_health(); check_misc(); + if ($param->{full}) { + check_containers_cgroup_compat(); + } else { + log_skip("Expensive checks not performed without 'full' parameter"); + } + print_header("SUMMARY"); my $total = 0; @@ -1153,7 +1165,4 @@ __PACKAGE__->register_method ({ our $cmddef = [ __PACKAGE__, 'checklist', [], {}]; -# for now drop all unknown params and just check -@ARGV = (); - 1; -- 2.30.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel