mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-02 13:14:11 +00:00
fix destroy_vm by using correct Config package
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@proxmox.com>
This commit is contained in:
parent
3c1c3fe6a1
commit
8baf8bc77e
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user