Skip to content

Commit

Permalink
Remove refs to rhel7 in Vagrantfile (kubernetes-sigs#11525)
Browse files Browse the repository at this point in the history
  • Loading branch information
VannTen authored Sep 12, 2024
1 parent 4e6ae04 commit 5ae433b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ Vagrant.configure("2") do |config|
node.vm.network "forwarded_port", guest: guest, host: host, auto_correct: true
end

if ["rhel7","rhel8"].include? $os
if ["rhel8"].include? $os
# Vagrant synced_folder rsync options cannot be used for RHEL boxes as Rsync package cannot
# be installed until the host is registered with a valid Red Hat support subscription
node.vm.synced_folder ".", "/vagrant", disabled: false
Expand Down Expand Up @@ -252,7 +252,7 @@ Vagrant.configure("2") do |config|
end

# Disable firewalld on oraclelinux/redhat vms
if ["oraclelinux","oraclelinux8","rhel7","rhel8","rockylinux8"].include? $os
if ["oraclelinux","oraclelinux8", "rhel8","rockylinux8"].include? $os
node.vm.provision "shell", inline: "systemctl stop firewalld; systemctl disable firewalld"
end

Expand Down

0 comments on commit 5ae433b

Please sign in to comment.