[pve-devel] applied: [PATCH qemu-server 2/2] destroy_vm: use write_config from our Config module to set an "empty" config
Thomas Lamprecht
t.lamprecht at proxmox.com
Fri Oct 18 11:45:05 CEST 2019
On 10/18/19 11:36 AM, Fabian Grünbichler wrote:
>> @@ -2663,7 +2661,7 @@ sub destroy_vm {
>> });
>>
>> if ($keep_empty_config) {
>> - PVE::Tools::file_set_contents($conffile, "memory: 128\n");
>> + PVE::QemuConfig->write_config($vmid, "memory: 128\n");
> shouldn't that be
>
> PVE::QemuConfig->write_config($vmid, { memory => 128 });
>
> ?
>
yeah, sure, fixed up; thanks for the quick notice!
More information about the pve-devel
mailing list