]> git.proxmox.com Git - qemu-server.git/blobdiff - PVE/API2/Qemu.pm
config: add new meta property with the VM creation time
[qemu-server.git] / PVE / API2 / Qemu.pm
index 1ac81e2fc4610337f8fb2e092b389dc801fc845d..b479811f80b048be353a61279529c7befb03e4aa 100644 (file)
@@ -708,6 +708,8 @@ __PACKAGE__->register_method({
                my $conf = $param;
                my $arch = PVE::QemuServer::get_vm_arch($conf);
 
+               $conf->{meta} = PVE::QemuServer::new_meta_info_string();
+
                my $vollist = [];
                eval {
                    $vollist = &$create_disks($rpcenv, $authuser, $conf, $arch, $storecfg, $vmid, $pool, $param, $storage);