From a2d9d334333eb6cad455a07cb7202ab412021e5e Mon Sep 17 00:00:00 2001 From: juju4 Date: Sat, 28 Oct 2023 13:35:41 +0000 Subject: [PATCH] ci(default-vagrant): add vagrant --- .github/workflows/default-vagrant.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/default-vagrant.yml b/.github/workflows/default-vagrant.yml index bcdd520..1edb2b0 100644 --- a/.github/workflows/default-vagrant.yml +++ b/.github/workflows/default-vagrant.yml @@ -69,6 +69,12 @@ jobs: # add user to group sudo usermod -a -G libvirt $USER + - name: Set up vagrant + run: | + wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg + echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list + sudo apt update && sudo apt install vagrant + - name: Set up vagrant-libvirt run: | vagrant plugin install vagrant-libvirt