From 60b3a6d76900dcab20348e66b1366c6a4256fa1b Mon Sep 17 00:00:00 2001 From: Corey Hemminger Date: Wed, 3 Apr 2024 13:59:38 -0500 Subject: [PATCH] test15 Signed-off-by: Corey Hemminger --- .github/workflows/pkr-bld-qemu-x64.yml | 4 ++-- .github/workflows/pkr-bld-virtualbox-x64.yml | 8 -------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pkr-bld-qemu-x64.yml b/.github/workflows/pkr-bld-qemu-x64.yml index 451370a6c..c851230ca 100644 --- a/.github/workflows/pkr-bld-qemu-x64.yml +++ b/.github/workflows/pkr-bld-qemu-x64.yml @@ -49,7 +49,7 @@ jobs: sudo udevadm control --reload-rules sudo udevadm trigger --name-match=kvm sudo usermod -aG kvm $USER - sudo usermod -aG libvirt $USER + sudo usermod -aG libvirtd $USER sudo systemctl start libvirtd sudo systemctl status libvirtd - name: Install Chef @@ -74,7 +74,7 @@ jobs: - name: Bento Test run: | eval "$(chef shell-init bash)" - bento test + sudo bento test # - name: Remove VM in case of canceled job # if: cancelled() # run: | diff --git a/.github/workflows/pkr-bld-virtualbox-x64.yml b/.github/workflows/pkr-bld-virtualbox-x64.yml index bca313f60..17bdcd560 100644 --- a/.github/workflows/pkr-bld-virtualbox-x64.yml +++ b/.github/workflows/pkr-bld-virtualbox-x64.yml @@ -68,14 +68,6 @@ jobs: run: | eval "$(chef shell-init bash)" bento test ${{ matrix.os }} -# - name: Remove VM in case of canceled job -# if: cancelled() -# run: | -# echo Powering off and deleting any existing VMs named ${{ matrix.os }}*-amd64 -# VBoxManage controlvm ${{ matrix.os }}*-amd64 poweroff --type headless 2> /dev/null -# sleep 1 -# VBoxManage unregistervm ${{ matrix.os }}*-amd64 --delete 2> /dev/null -# sleep 2 - name: Upload build artifact uses: actions/upload-artifact@main with: