Skip to content

Commit

Permalink
rockylinux vagrant boxes only boot in UEFI mode (kubernetes-sigs#11192)
Browse files Browse the repository at this point in the history
  • Loading branch information
VannTen authored and Rickkwa committed Jun 26, 2024
1 parent 891eb74 commit b09b49b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b09b49b

Please sign in to comment.