From f73ed6d10fb934571be2c6dcd12683d42d7341a0 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Fri, 18 Oct 2019 11:44:14 +0200 Subject: [PATCH] fixup: QemuConfig->write_config doesn't takes the raw config Thanks to Fabian for the quick notice Signed-off-by: Thomas Lamprecht --- PVE/QemuServer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 48657bf8..3c5e6f7c 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -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); }