]> git.proxmox.com Git - qemu-server.git/commit
destroy_vm: use write_config from our Config module to set an "empty" config
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 18 Oct 2019 09:21:58 +0000 (11:21 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 18 Oct 2019 09:22:07 +0000 (11:22 +0200)
commit3361d099010fc1a928cc037a7171861da16b0ac9
treecc6332a8daf431bec55cfd030e2a933d9af58969
parent5172770df7a7cb4b099039400cb65f78974a5af2
destroy_vm: use write_config from our Config module to set an "empty" config

brings us more in line with what we do in pve-container, also it's
good to not use file_set_contents directly if we have all those nice
wrapper interface methods to do things in a safe and guaranteed way.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/QemuServer.pm