[pve-devel] [PATCH container v5] Fix: #2124 add zstd

Alwin Antreich a.antreich at proxmox.com
Tue Apr 28 15:58:10 CEST 2020


Signed-off-by: Alwin Antreich <a.antreich at proxmox.com>
---
 src/PVE/LXC/Create.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/PVE/LXC/Create.pm b/src/PVE/LXC/Create.pm
index 52b0b48..39902a2 100644
--- a/src/PVE/LXC/Create.pm
+++ b/src/PVE/LXC/Create.pm
@@ -123,6 +123,7 @@ sub restore_tar_archive {
 	    '.bz2' => '-j',
 	    '.xz'  => '-J',
 	    '.lzo'  => '--lzop',
+	    '.zst'  => '--zstd',
 	);
 	if ($archive =~ /\.tar(\.[^.]+)?$/) {
 	    if (defined($1)) {
-- 
2.20.1





More information about the pve-devel mailing list