]> git.proxmox.com Git - qemu-server.git/blobdiff - qmrestore
pve-bridge: use enviroment variable PVE_MIGRATED_FROM
[qemu-server.git] / qmrestore
index f256b39fa109f752ea55c27e19bd703650123541..76b5e87d3a9dbb3a5758b98f4bb0e09e192f384e 100755 (executable)
--- a/qmrestore
+++ b/qmrestore
@@ -37,7 +37,7 @@ __PACKAGE__->register_method({
        properties => {
            vmid => get_standard_option('pve-vmid'),
            archive => {
-               description => "The backup file.",
+               description => "The backup file. You can pass '-' to read from standard input.",
                type => 'string', 
                maxLength => 255,
            },
@@ -50,6 +50,16 @@ __PACKAGE__->register_method({
                type => 'boolean',
                description => "Allow to overwrite existing VM.",
            },
+           unique => {
+               optional => 1, 
+               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 => {