[pve-devel] [PATCH qemu-server] fix destroy_vm by using correct Config package
Dominik Csapak
d.csapak at proxmox.com
Thu Nov 14 09:49:26 CET 2019
We are in the QemuServer package not in LXC, so use the correct
package for the Config, namely QemuConfig
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
PVE/QemuServer.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 1890448..54c8c88 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -2595,7 +2595,7 @@ sub destroy_vm {
});
if (defined $replacement_conf) {
- PVE::LXC::Config->write_config($vmid, $replacement_conf);
+ PVE::QemuConfig->write_config($vmid, $replacement_conf);
} else {
PVE::QemuConfig->destroy_config($vmid);
}
--
2.20.1
More information about the pve-devel
mailing list