Am 14.06.24 um 13:29 schrieb Fiona Ebner: > While archives with unknown or undetermined subtype could be shown, > this is only for autocompletion, so users can still specify those > manually if required. > > Signed-off-by: Fiona Ebner <f.eb...@proxmox.com> > --- > src/PVE/LXC.pm | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm > index 65d0fa8..e154efe 100644 > --- a/src/PVE/LXC.pm > +++ b/src/PVE/LXC.pm > @@ -2341,6 +2341,7 @@ sub complete_os_templates { > my $res = []; > foreach my $id (keys %$data) { > foreach my $item (@{$data->{$id}}) { > + next if $vtype eq 'backup' && ($item->{subtype} // '') ne 'lxc'; > push @$res, $item->{volid} if defined($item->{volid}); > } > }
Ping regarding this one, still applies cleanly. _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel