Am 27.04.22 um 16:05 schrieb Alexandre Derumier: > --- > PVE/QemuServer.pm | 31 +++++-------------------------- > 1 file changed, 5 insertions(+), 26 deletions(-) > > diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm > index 53be830..998f7c8 100644 > --- a/PVE/QemuServer.pm > +++ b/PVE/QemuServer.pm > @@ -4837,6 +4837,10 @@ sub vmconfig_hotplug_pending { > $errors->{$opt} = "hotplug problem - $msg"; > }; > > + for my $opt (keys %$confdesc_cloudinit) { > + $fast_plug_option->{$opt} = 1; > + } > +
This should be done outside the function, so that it happens only once during module load. _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel