From 1a0f941e0748899bdead1fdf8ee4c77938f4550a Mon Sep 17 00:00:00 2001 From: Dimitris Karakasilis Date: Fri, 1 Sep 2023 11:24:32 +0300 Subject: [PATCH] Remove usermod from the rest of the jobs Signed-off-by: Dimitris Karakasilis --- .github/workflows/image.yaml | 3 +-- .github/workflows/reusable-provider-tests.yaml | 3 +-- .github/workflows/reusable-provider-upgrade-latest-test.yaml | 1 + 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/image.yaml b/.github/workflows/image.yaml index 55c06159e..00bcb1137 100644 --- a/.github/workflows/image.yaml +++ b/.github/workflows/image.yaml @@ -258,12 +258,11 @@ jobs: # echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules # sudo udevadm control --reload-rules # sudo udevadm trigger --name-match=kvm + # sudo usermod -a -G kvm,libvirt $USER # # TODO: Switch back to the above solution when we switch to the github runners # https://askubuntu.com/a/1081326 sudo setfacl -m u:runner:rwx /dev/kvm - - sudo usermod -a -G kvm,libvirt $USER - name: Install earthly uses: jimmykarily/luet-install-action@v1.2 with: diff --git a/.github/workflows/reusable-provider-tests.yaml b/.github/workflows/reusable-provider-tests.yaml index 4b4fc75ef..240bb0e21 100644 --- a/.github/workflows/reusable-provider-tests.yaml +++ b/.github/workflows/reusable-provider-tests.yaml @@ -37,12 +37,11 @@ jobs: # echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules # sudo udevadm control --reload-rules # sudo udevadm trigger --name-match=kvm + # sudo usermod -a -G kvm,libvirt $USER # # TODO: Switch back to the above solution when we switch to the github runners # https://askubuntu.com/a/1081326 sudo setfacl -m u:runner:rwx /dev/kvm - - sudo usermod -a -G kvm,libvirt $USER - name: Install earthly uses: jimmykarily/luet-install-action@v1.2 with: diff --git a/.github/workflows/reusable-provider-upgrade-latest-test.yaml b/.github/workflows/reusable-provider-upgrade-latest-test.yaml index b18f05558..cd0c9b273 100644 --- a/.github/workflows/reusable-provider-upgrade-latest-test.yaml +++ b/.github/workflows/reusable-provider-upgrade-latest-test.yaml @@ -31,6 +31,7 @@ jobs: # sudo udevadm control --reload-rules # sudo udevadm trigger --name-match=kvm # sudo usermod -a -G kvm,libvirt $USER + # # TODO: Switch back to the above solution when we switch to the github runners # https://askubuntu.com/a/1081326 sudo setfacl -m u:runner:rwx /dev/kvm