mirror of
https://git.proxmox.com/git/qemu-server
synced 2026-01-06 19:36:03 +00:00
snapshot_create: correctly set parent when creating a new snapshot
This commit is contained in:
parent
030dd626f4
commit
05e5ad3f8e
@ -3686,6 +3686,8 @@ my $snapshot_commit = sub {
|
||||
|
||||
my $newconf = &$snapshot_apply_config($conf, $snap);
|
||||
|
||||
$newconf->{parent} = $snapname;
|
||||
|
||||
update_config_nolock($vmid, $newconf, 1);
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user