Hi,
I have send a v4 with fixes for all your comments
Le jeudi 31 mars 2022 à 15:01 +0200, Fabian Ebner a écrit :
> > + #add cloud-init drive
>
> Is there a reason to care about pending changes on the drive itself
> here?
About this, I'm currently return the config drive in get_pending_confi
Am 09.06.21 um 13:54 schrieb Alexandre Derumier:
> +code => sub {
> + my ($param) = @_;
> +
> + my $vmid = $param->{vmid};
> + my $conf = PVE::QemuConfig->load_config($vmid);
> +
> + if( defined($conf->{cipassword}) &&
> + defined($conf->{cloudinit}->{cipassword}) &&
>
Signed-off-by: Alexandre Derumier
---
PVE/API2/Qemu.pm| 73 +
PVE/CLI/qm.pm | 1 +
PVE/QemuServer/Cloudinit.pm | 70 +++
3 files changed, 144 insertions(+)
diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu