Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
da5077fa
Unverified
Commit
da5077fa
authored
4 years ago
by
OwenTuz
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Vagrantfile: Fix incorrect references to 'rhel' variable as 'redhat' (#6967)
parent
f1231bb9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Vagrantfile
+2
-2
2 additions, 2 deletions
Vagrantfile
with
2 additions
and
2 deletions
Vagrantfile
+
2
−
2
View file @
da5077fa
...
...
@@ -179,7 +179,7 @@ Vagrant.configure("2") do |config|
node
.
vm
.
network
"forwarded_port"
,
guest:
guest
,
host:
host
,
auto_correct:
true
end
if
[
"r
edhat7"
,
"redhat
8"
].
include?
$os
if
[
"r
hel7"
,
"rhel
8"
].
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
...
...
@@ -200,7 +200,7 @@ Vagrant.configure("2") do |config|
node
.
vm
.
provision
"shell"
,
inline:
"swapoff -a"
# Disable firewalld on oraclelinux/redhat vms
if
[
"oraclelinux"
,
"oraclelinux8"
,
"r
edhat7"
,
"redhat
8"
].
include?
$os
if
[
"oraclelinux"
,
"oraclelinux8"
,
"r
hel7"
,
"rhel
8"
].
include?
$os
node
.
vm
.
provision
"shell"
,
inline:
"systemctl stop firewalld; systemctl disable firewalld"
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment