mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-11 15:19:12 +00:00
fixup: QemuConfig->write_config doesn't takes the raw config
Thanks to Fabian for the quick notice Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
90ec74eac1
commit
f73ed6d10f
@ -2663,7 +2663,7 @@ sub destroy_vm {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if ($keep_empty_config) {
|
if ($keep_empty_config) {
|
||||||
PVE::QemuConfig->write_config($vmid, "memory: 128\n");
|
PVE::QemuConfig->write_config($vmid, { memory => 128 });
|
||||||
} else {
|
} else {
|
||||||
PVE::QemuConfig->destroy_config($vmid);
|
PVE::QemuConfig->destroy_config($vmid);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user