]> git.proxmox.com Git - qemu-server.git/blobdiff - qmrestore
start adding permission checks
[qemu-server.git] / qmrestore
index 684b2f73cb5a5a7ca6b029ee8406882ed67a4588..76b5e87d3a9dbb3a5758b98f4bb0e09e192f384e 100755 (executable)
--- a/qmrestore
+++ b/qmrestore
@@ -55,6 +55,11 @@ __PACKAGE__->register_method({
                type => 'boolean',
                description => "Assign a unique random ethernet address.",
            },
+           pool => { 
+               optional => 1,
+               type => 'string', format => 'pve-poolid',
+               description => "Add the VM to the specified pool.",
+           },
        },
     },
     returns => {