From 6873fd3baa6d233033c331d7a90255b042dbf00a Mon Sep 17 00:00:00 2001 From: Scott Fryer Date: Mon, 30 Sep 2024 16:58:53 +0100 Subject: [PATCH] test --- .github/workflows/build_vagrant.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_vagrant.yml b/.github/workflows/build_vagrant.yml index b2ae609dbe..7f41b70552 100644 --- a/.github/workflows/build_vagrant.yml +++ b/.github/workflows/build_vagrant.yml @@ -50,7 +50,7 @@ jobs: run: sudo apt-get update - name: Install VirtualBox - run: sudo apt-get install virtualbox-7.0 + run: sudo apt-get install gcc12 virtualbox-7.0 - name: Add Hashicorp GPG Key run: wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg @@ -102,7 +102,7 @@ jobs: # Copy the machine's ssh key for the VMs to use, after removing prior files ssh-keygen -q -f $PWD/id_rsa -t rsa -N '' vagrant plugin install vagrant-vbguest - vagrant up + vagrant up --provider=virtualbox vagrantPORT=$(vagrant port | grep host | awk '{ print $4 }') rm -f playbooks/AdoptOpenJDK_Unix_Playbook/hosts.unx echo "[127.0.0.1]:${vagrantPORT}" >> playbooks/AdoptOpenJDK_Unix_Playbook/hosts.unx