[pve-devel] [PATCH v5 qemu-server 7/9] api2: qemu : don't display cloudinit value
Alexandre Derumier
aderumier at odiso.com
Mon May 16 18:07:17 CEST 2022
Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
PVE/API2/Qemu.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index 1d5b66f..57a75fc 100644
--- a/PVE/API2/Qemu.pm
+++ b/PVE/API2/Qemu.pm
@@ -1227,6 +1227,7 @@ __PACKAGE__->register_method({
$conf = PVE::QemuConfig->load_current_config($param->{vmid}, $param->{current});
}
$conf->{cipassword} = '**********' if $conf->{cipassword};
+ delete $conf->{cloudinit};
return $conf;
}});
--
2.30.2
More information about the pve-devel
mailing list