From 1efdbc9b2f41580b0abb1d627160bc6c4b343c77 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Tue, 22 Oct 2024 11:04:39 +0530 Subject: [PATCH] ci : Install virtiofsd only when runner os is Ubuntu 24.04 Signed-off-by: Rohan Kumar --- .github/workflows/e2e-crc-okd-tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/e2e-crc-okd-tests.yml b/.github/workflows/e2e-crc-okd-tests.yml index 735cdad7..36e42167 100644 --- a/.github/workflows/e2e-crc-okd-tests.yml +++ b/.github/workflows/e2e-crc-okd-tests.yml @@ -66,7 +66,9 @@ jobs: - name: Install required virtualization software run: | sudo apt-get update - sudo apt install qemu-kvm libvirt-daemon libvirt-daemon-system virtiofsd + sudo apt install qemu-kvm libvirt-daemon libvirt-daemon-system + # This package may not be present depending on Ubuntu version + sudo apt install virtiofsd || true sudo usermod -a -G libvirt $USER - name: Remove unwanted stuff to free up disk image run: |