]> git.proxmox.com Git - qemu-server.git/commit - PVE/CLI/qm.pm
api2: add cloudinit_update
authorAlexandre Derumier <aderumier@odiso.com>
Wed, 22 Jun 2022 11:52:04 +0000 (13:52 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 8 Nov 2022 16:31:59 +0000 (17:31 +0100)
commit9687287bb303c5391372af8bc89c8e420767d6b0
tree937c733f63fcaa6b32492f2646097778342f5251
parent2be1fb0af4b308870598ebd0577e3525ae71791f
api2: add cloudinit_update

This allow to regenerate the config drive with 1 api call.

This also avoid to delete drive first, and recreate it again.

As it's a readonly drive, we can simply live update it,
and eject/replace it with qemu monitor

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Reviewed-by: Fiona Ebner <f.ebner@proxmox.com>
PVE/API2/Qemu.pm
PVE/CLI/qm.pm
PVE/QemuServer.pm