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

Alwin Antreich a.antreich at proxmox.com
Wed Apr 22 16:57:53 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