mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-11 18:34:20 +00:00
fix start on boot
fix the fix for #1024 Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com> (cherry picked from commit e7fe107f75ee1bb9877b0d6430489661d6c1beea)
This commit is contained in:
parent
f92f0a357a
commit
c2e5b9384e
@ -1278,7 +1278,7 @@ my $get_start_stop_list = sub {
|
||||
$startup->{order} = LONG_MAX if !defined($startup->{order});
|
||||
|
||||
$resList->{$startup->{order}}->{$vmid} = $startup;
|
||||
$resList->{$startup->{order}}->{$vmid}->{type} = $conf->{type};
|
||||
$resList->{$startup->{order}}->{$vmid}->{type} = $vmlist->{$vmid}->{type};
|
||||
}
|
||||
|
||||
return $resList;
|
||||
@ -1291,7 +1291,7 @@ my $remove_locks_on_startup = sub {
|
||||
|
||||
foreach my $vmid (keys %$vmlist) {
|
||||
my $conf = $vmlist->{$vmid}->{conf};
|
||||
my $class = $conf->{class};
|
||||
my $class = $vmlist->{$vmid}->{class};
|
||||
|
||||
eval {
|
||||
if ($class->has_lock($conf, 'backup')) {
|
||||
|
Loading…
Reference in New Issue
Block a user