From dd024a3dbbd4a6b28e525149b82021c082a41aa9 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Mon, 22 Jan 2024 14:09:40 +0100 Subject: [PATCH] add support for vagrant-libvirt on GHA --- .github/workflows/beaker.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/beaker.yml b/.github/workflows/beaker.yml index 6b0ad1d..23132c7 100644 --- a/.github/workflows/beaker.yml +++ b/.github/workflows/beaker.yml @@ -151,6 +151,11 @@ jobs: - name: install additional packages if: ${{ inputs.additional_packages != '' }} run: sudo apt-get install -y ${{ inputs.additional_packages }} + - name: Setup libvirt for Vagrant + if: ${{ inputs.beaker_hypervisor == 'vagrant_libvirt' }} + run: | + sudo apt-get install -y --no-install-recommends vagrant vagrant-libvirt libvirt-clients libvirt-daemon-system libvirt-daemon qemu qemu-system-x86 + sudo chmod 666 /var/run/libvirt/libvirt-sock - name: Setup ruby uses: ruby/setup-ruby@v1 with: