-#!/usr/bin/perl -w
+#!/usr/bin/perl
use strict;
+use warnings;
use PVE::SafeSyslog;
use PVE::Tools qw(extract_param);
use PVE::INotify;
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,
},
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 => {