Commit 5dd04127 authored by Dietmar Maurer's avatar Dietmar Maurer

fix vzdump --exclude-path

parent dc009a6f
......@@ -92,13 +92,17 @@ __PACKAGE__->register_method ({
my @exclude = PVE::Tools::split_list(extract_param($param, 'exclude'));
$param->{exclude} = PVE::VZDump::check_vmids(@exclude);
# exclude-path list need to be 0 separated
my @expaths = split(/\0/, $param->{'exclude-path'} || '');
$param->{'exclude-path'} = [ @expaths ];
if (defined($param->{'exclude-path'})) {
my @expaths = split(/\0/, $param->{'exclude-path'} || '');
$param->{'exclude-path'} = [ @expaths ];
}
my @mailto = PVE::Tools::split_list(extract_param($param, 'mailto'));
$param->{mailto} = [ @mailto ];
if (defined($param->{mailto})) {
my @mailto = PVE::Tools::split_list(extract_param($param, 'mailto'));
$param->{mailto} = [ @mailto ];
}
die "you can only backup a single VM with option --stdout\n"
if $param->{stdout} && scalar(@vmids) != 1;
......
pve-manager (2.1-7) unstable; urgency=low
* fix vzdump --exclude-path (allow to read value from vzdump.conf)
-- Proxmox Support Team <support@proxmox.com> Wed, 30 May 2012 07:24:30 +0200
pve-manager (2.1-6) unstable; urgency=low
* include Danish translation
......
......@@ -2,7 +2,7 @@ RELEASE=2.1
VERSION=2.1
PACKAGE=pve-manager
PACKAGERELEASE=6
PACKAGERELEASE=7
BINDIR=${DESTDIR}/usr/bin
PERLLIBDIR=${DESTDIR}/usr/share/perl5
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment