diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index b7ef2190..0aab3006 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -378,7 +378,8 @@ __PACKAGE__->register_method({ $conf->{bootdisk} = $firstdisk; } - PVE::QemuServer::update_conf_nolock($vmid, $conf); + PVE::QemuServer::update_config_nolock($vmid, $conf); + }; my $err = $@;