From 9239852ec8a362301d6a920125f035fe183bdd6f Mon Sep 17 00:00:00 2001 From: dtrdnk <4demenko@gmail.com> Date: Fri, 25 Apr 2025 15:44:02 +0300 Subject: [PATCH] Update permissions version for CRI containerd Signed-off-by: dtrdnk <4demenko@gmail.com> --- hack/e2e.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/hack/e2e.sh b/hack/e2e.sh index b11717e7..e7c66534 100755 --- a/hack/e2e.sh +++ b/hack/e2e.sh @@ -60,7 +60,8 @@ done # Prepare system drive if [ ! -f nocloud-amd64.raw ]; then - wget https://github.com/cozystack/cozystack/releases/latest/download/nocloud-amd64.raw.xz -O nocloud-amd64.raw.xz --show-progress --output-file /dev/stdout --progress=dot:giga 2>/dev/null + wget https://github.com/cozystack/cozystack/releases/latest/download/nocloud-amd64.raw.xz \ + -O nocloud-amd64.raw.xz --show-progress --output-file /dev/stdout --progress=dot:giga 2>/dev/null rm -f nocloud-amd64.raw xz --decompress nocloud-amd64.raw.xz fi @@ -85,7 +86,8 @@ done # Start VMs for i in 1 2 3; do qemu-system-x86_64 -machine type=pc,accel=kvm -cpu host -smp 8 -m 16384 \ - -device virtio-net,netdev=net0,mac=52:54:00:12:34:5$i -netdev tap,id=net0,ifname=cozy-srv$i,script=no,downscript=no \ + -device virtio-net,netdev=net0,mac=52:54:00:12:34:5$i \ + -netdev tap,id=net0,ifname=cozy-srv$i,script=no,downscript=no \ -drive file=srv$i/system.img,if=virtio,format=raw \ -drive file=srv$i/seed.img,if=virtio,format=raw \ -drive file=srv$i/data.img,if=virtio,format=raw \ @@ -121,7 +123,7 @@ machine: files: - content: | [plugins] - [plugins."io.containerd.grpc.v1.cri"] + [plugins."io.containerd.cri.v1.runtime"] device_ownership_from_security_context = true path: /etc/cri/conf.d/20-customization.part op: create