Commit 8c846a7b authored by Dietmar Maurer's avatar Dietmar Maurer

fix bug 124: correctly return maxfiles flag

parent 54762b0e
......@@ -92,6 +92,7 @@ sub storage_info {
return {
dumpdir => PVE::Storage::get_backup_dir($cfg, $storage),
maxfiles => $scfg->{maxfiles},
};
}
......@@ -486,15 +487,10 @@ sub new {
my $pd = $p->new ($self);
push @{$self->{plugins}}, $pd;
if (!$opts->{dumpdir} && !$opts->{storage} &&
($p eq 'PVE::VZDump::OpenVZ')) {
$opts->{dumpdir} = $pd->{dumpdir};
}
}
if (!$opts->{dumpdir} && !$opts->{storage}) {
die "no dumpdir/storage specified - use option '--dumpdir' or option '--storage'\n";
$opts->{storage} = 'local';
}
if ($opts->{storage}) {
......
pve-manager (2.0-45) unstable; urgency=low
* fix bug 124: correctly return maxfiles flag
* vzdump: use storage 'local' as default backup target (instead of using
Openvz dump directory settings)
-- Proxmox Support Team <support@proxmox.com> Fri, 23 Mar 2012 12:36:15 +0100
pve-manager (2.0-44) unstable; urgency=low
* Disable automatic file removal on 'Backup now'
......
......@@ -2,7 +2,7 @@ RELEASE=2.0
VERSION=2.0
PACKAGE=pve-manager
PACKAGERELEASE=44
PACKAGERELEASE=45
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