From 73c2722d0084168408d02d754d9c0d7bfe6dc452 Mon Sep 17 00:00:00 2001 From: Max Gautier Date: Tue, 14 May 2024 16:11:12 +0000 Subject: [PATCH] rockylinux vagrant boxes only boot in UEFI mode (#11192) https://forums.rockylinux.org/t/vagrant-box-rockylinux-8-v7-0-0-with-libvirt-provider-fails-to-boot/8212 --- Vagrantfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index e280b6f1d..df48261f7 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -246,6 +246,13 @@ Vagrant.configure("2") do |config| SHELL end + # Rockylinux boxes needs UEFI + if ["rockylinux8", "rockylinux9"].include? $os + config.vm.provider "libvirt" do |domain| + domain.loader = "/usr/share/OVMF/x64/OVMF_CODE.fd" + end + end + # Disable firewalld on oraclelinux/redhat vms if ["oraclelinux","oraclelinux8","rhel7","rhel8","rockylinux8"].include? $os node.vm.provision "shell", inline: "systemctl stop firewalld; systemctl disable firewalld"