[pve-devel] [RFC manager] revert default compress mode for vzdump to 0

Dominik Csapak d.csapak at proxmox.com
Tue Apr 12 11:36:45 CEST 2016


rationale is the following:

we had this as default before commit
d6b8bffa3d598e404d3c77798a7ca3e30e0f6b9b

but wrongly documented

since we set the compression mode explicitly via the gui,
we can set the default to 0, which makes some operations more
intuitive (e.g. with the -stdout parameter it makes no sense
to compress it by default)

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
other opinions ?
 PVE/VZDump.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/VZDump.pm b/PVE/VZDump.pm
index a4fa8c1..9836726 100644
--- a/PVE/VZDump.pm
+++ b/PVE/VZDump.pm
@@ -58,7 +58,7 @@ my $confdesc = {
 	description => "Compress dump file.",
 	optional => 1,
 	enum => ['0', '1', 'gzip', 'lzo'],
-	default => 'lzo',
+	default => '0',
     },
     pigz=> {
 	type => "integer",
-- 
2.1.4





More information about the pve-devel mailing list