mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-11 11:05:45 +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) {
|
||||
PVE::QemuConfig->write_config($vmid, "memory: 128\n");
|
||||
PVE::QemuConfig->write_config($vmid, { memory => 128 });
|
||||
} else {
|
||||
PVE::QemuConfig->destroy_config($vmid);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user