]> git.proxmox.com Git - qemu-server.git/blobdiff - PVE/CLI/qm.pm
api2: add cloudinit_update
[qemu-server.git] / PVE / CLI / qm.pm
index b67451b0e3f99f6158bbaf964611d4313783128d..6655842e88821d65c2f60f59fc45e27a1d9e04ce 100755 (executable)
@@ -984,7 +984,8 @@ 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 ]
+       pending => [ "PVE::API2::Qemu", 'cloudinit_pending', ['vmid'], { %node }, \&PVE::GuestHelpers::format_pending ],
+       update => [ "PVE::API2::Qemu", 'cloudinit_update', ['vmid'], { node => $nodename }],
     },
 
 };