[pve-devel] [PATCH v2 manager 2/3] partially fix #2745: vzdump: use default for remove parameter
Fabian Ebner
f.ebner at proxmox.com
Wed Mar 3 12:50:41 CET 2021
The initial default from the $confdesc is 1 anyways, and like
this changing the default in /etc/vzdump.conf to 0 actually works.
Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
PVE/VZDump.pm | 2 --
1 file changed, 2 deletions(-)
diff --git a/PVE/VZDump.pm b/PVE/VZDump.pm
index 0345d2f3..02858d8e 100644
--- a/PVE/VZDump.pm
+++ b/PVE/VZDump.pm
@@ -449,8 +449,6 @@ sub new {
my $defaults = read_vzdump_defaults();
- $opts->{remove} = 1 if !defined($opts->{remove});
-
foreach my $k (keys %$defaults) {
next if $k eq 'exclude-path' || $k eq 'prune-backups'; # dealt with separately
if ($k eq 'dumpdir' || $k eq 'storage') {
--
2.20.1
More information about the pve-devel
mailing list