Re: [pve-devel] [PATCH v3 qemu-server 4/7] api2: add cloudinit config api

2022-04-27 Thread DERUMIER, Alexandre
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

Re: [pve-devel] [PATCH v3 qemu-server 4/7] api2: add cloudinit config api

2022-03-31 Thread Fabian Ebner
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}) && >

[pve-devel] [PATCH v3 qemu-server 4/7] api2: add cloudinit config api

2021-06-09 Thread Alexandre Derumier
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