Signed-off-by: Oguz Bektas <o.bek...@proxmox.com> --- src/PVE/LXC.pm | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm index c77ee01..091d34a 100644 --- a/src/PVE/LXC.pm +++ b/src/PVE/LXC.pm @@ -1932,6 +1932,9 @@ sub userns_command { sub vm_start { my ($vmid, $conf, $skiplock) = @_; + eval { clear_reboot_request($vmid) }; + warn $@ if $@; + # apply pending changes while starting if (scalar(keys %{$conf->{pending}})) { my $storecfg = PVE::Storage::config(); -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel