mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-04 08:48:42 +03:00
Remove refs to rhel7 in Vagrantfile (#11525)
This commit is contained in:
4
Vagrantfile
vendored
4
Vagrantfile
vendored
@@ -204,7 +204,7 @@ Vagrant.configure("2") do |config|
|
|||||||
node.vm.network "forwarded_port", guest: guest, host: host, auto_correct: true
|
node.vm.network "forwarded_port", guest: guest, host: host, auto_correct: true
|
||||||
end
|
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
|
# 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
|
# be installed until the host is registered with a valid Red Hat support subscription
|
||||||
node.vm.synced_folder ".", "/vagrant", disabled: false
|
node.vm.synced_folder ".", "/vagrant", disabled: false
|
||||||
@@ -252,7 +252,7 @@ Vagrant.configure("2") do |config|
|
|||||||
end
|
end
|
||||||
|
|
||||||
# Disable firewalld on oraclelinux/redhat vms
|
# 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"
|
node.vm.provision "shell", inline: "systemctl stop firewalld; systemctl disable firewalld"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user