From 6055bab4a6c57538f6725d876a26df924170ea91 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 29 Jan 2019 12:33:41 +0000 Subject: [PATCH] Use xz filter instead of plugin, but apply cow layer. xz filter in readonly mode is broken! --- 2019-fosdem/3000-xz-compressed.term | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2019-fosdem/3000-xz-compressed.term b/2019-fosdem/3000-xz-compressed.term index ba43450..37d6fc0 100755 --- a/2019-fosdem/3000-xz-compressed.term +++ b/2019-fosdem/3000-xz-compressed.term @@ -7,7 +7,7 @@ export title="XZ compressed image" # History. remember 'ls -lh Fedora-Cloud-Base-29-1.2.x86_64.raw.xz' -remember 'nbdkit xz Fedora-Cloud-Base-29-1.2.x86_64.raw.xz' +remember 'nbdkit --filter=cow --filter=xz file Fedora-Cloud-Base-29-1.2.x86_64.raw.xz' remember 'ps ax | grep nbdkit' remember 'sudo nbd-client -b 512 localhost /dev/nbd0' remember 'sudo mount /dev/nbd0p1 /tmp/mnt' -- 1.8.3.1