From a2c309b736fa6c288d86ff77015079332877c87d Mon Sep 17 00:00:00 2001 From: Can SOYLU Date: Wed, 1 Jun 2022 10:25:20 +0200 Subject: [PATCH] Missing line MANUALPATCH --- MANUALPATCH.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MANUALPATCH.md b/MANUALPATCH.md index bfc0cb8..843b4c6 100644 --- a/MANUALPATCH.md +++ b/MANUALPATCH.md @@ -12,6 +12,9 @@ The code to edit in my $update_vm_api fonction is belove; ``` + my $conf = PVE::QemuConfig->load_config($vmid); + my $ostype = $conf->{ostype}; + if (defined(my $cipassword = $param->{cipassword})) { # Same logic as in cloud-init (but with the regex fixed...) if (!(PVE::QemuServer::windows_version($ostype))) { # new if block for support windowsand insert old code inside it