]> git.proxmox.com Git - qemu-server.git/blobdiff - qmrestore
migration: disable compress
[qemu-server.git] / qmrestore
index 684b2f73cb5a5a7ca6b029ee8406882ed67a4588..59a47b6e3a5c543b4c22241840003045128df3d6 100755 (executable)
--- a/qmrestore
+++ b/qmrestore
@@ -1,6 +1,7 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
 
 use strict;
+use warnings;
 use PVE::SafeSyslog;
 use PVE::Tools qw(extract_param);
 use PVE::INotify;
@@ -55,6 +56,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 => {