From 583b3254fc65cdda80ce716cc17f950e68b60bd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Wed, 11 Oct 2023 23:05:31 +0200 Subject: [PATCH] do-not-merge: Force nydus as the snapshotter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We don't want to merge that as it changes the behaviour for all the runtime handlers, but it allows us to test whether this is the reason of the problem we're currently facing in the CI. Signed-off-by: Fabiano FidĂȘncio --- install/pre-install-payload/scripts/reqs-deploy.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install/pre-install-payload/scripts/reqs-deploy.sh b/install/pre-install-payload/scripts/reqs-deploy.sh index 9bb23052..1530e38c 100755 --- a/install/pre-install-payload/scripts/reqs-deploy.sh +++ b/install/pre-install-payload/scripts/reqs-deploy.sh @@ -160,6 +160,8 @@ function configure_nydus_snapshotter_for_containerd() { echo -e "[proxy_plugins]" >>"$containerd_config" echo -e "$proxy_config" >>"$containerd_config" fi + + sed -i -e 's/snapshotter = \"overlayfs\"/snapshotter = \"nydus\"/g' "$containerd_config" } function remove_nydus_snapshotter_from_containerd() {