]> git.proxmox.com Git - qemu-server.git/blobdiff - PVE/CLI/qm.pm
api2: add cloudinit config api
[qemu-server.git] / PVE / CLI / qm.pm
index 1cd365aa5bb31fae887012678d0b8a583ca2e49d..b67451b0e3f99f6158bbaf964611d4313783128d 100755 (executable)
@@ -984,6 +984,7 @@ our $cmddef = {
 
     cloudinit => {
        dump => [ "PVE::API2::Qemu", 'cloudinit_generated_config_dump', ['vmid', 'type'], { %node }, sub { print "$_[0]\n"; }],
+       pending => [ "PVE::API2::Qemu", 'cloudinit_pending', ['vmid'], { %node }, \&PVE::GuestHelpers::format_pending ]
     },
 
 };