diff --git a/.github/workflows/build_vagrant.yml b/.github/workflows/build_vagrant.yml index ce541d4902..8ce774d887 100644 --- a/.github/workflows/build_vagrant.yml +++ b/.github/workflows/build_vagrant.yml @@ -19,7 +19,7 @@ permissions: jobs: build-solaris: name: Solaris - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 @@ -55,11 +55,23 @@ jobs: # Install Vagrant # apt-get install -y vagrant + - name: Add Keys For VirtualBox + run: sudo curl -fsSL https://www.virtualbox.org/download/oracle_vbox_2016.asc | sudo apt-key add - + + - name: Add Keys For VirtualBox + run: sudo curl -fsSL https://www.virtualbox.org/download/oracle_vbox.asc | sudo apt-key add - + + - name: Add VirtualBox repository + run: sudo echo "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list + + - name: Install linux headers and dkms + run: sudo apt-get install -y linux-headers-$(uname -r) dkms + - name: Update Repos run: sudo apt-get update - name: Install VirtualBox - run: sudo apt-get install virtualbox + run: sudo apt-get install virtualbox-7.0 - name: Install Vagrant run: sudo apt-get install vagrant @@ -115,4 +127,4 @@ jobs: - name: Run Ansible Playbook working-directory: ansible - run: ansible-playbook -i playbooks/AdoptOpenJDK_Unix_Playbook/hosts.unx -e 'ansible_python_interpreter=/usr/bin/python2.7' --ssh-common-args='-o HostKeyAlgorithms=ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ssh-ed25519 -o PubKeyAcceptedKeyTypes=ssh-rsa' -u vagrant -b --skip-tags adoptopenjdk,cups playbooks/AdoptOpenJDK_Unix_Playbook/main.yml + run: ansible-playbook -i playbooks/AdoptOpenJDK_Unix_Playbook/hosts.unx --ssh-common-args='-o HostKeyAlgorithms=ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ssh-ed25519 -o PubKeyAcceptedKeyTypes=ssh-rsa' -u vagrant -b --skip-tags adoptopenjdk,cups playbooks/AdoptOpenJDK_Unix_Playbook/main.yml