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
1122740b
Commit
1122740b
authored
8 years ago
by
Antoine Legrand
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #1094 from retr0h/vagrant-flannel
Ensure vagrant uses flannel
parents
cbaa6abd
f8772780
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Vagrantfile
+8
-6
8 additions, 6 deletions
Vagrantfile
with
8 additions
and
6 deletions
Vagrantfile
+
8
−
6
View file @
1122740b
...
...
@@ -94,12 +94,14 @@ Vagrant.configure("2") do |config|
ip
=
"
#{
$subnet
}
.
#{
i
+
100
}
"
host_vars
[
vm_name
]
=
{
"ip"
=>
ip
,
#"access_ip" => ip,
"flannel_interface"
=>
ip
,
"flannel_backend_type"
=>
"host-gw"
,
"local_release_dir"
=>
"/vagrant/temp"
,
"download_run_once"
=>
"False"
"ip"
:
ip
,
"flannel_interface"
:
ip
,
"flannel_backend_type"
:
"host-gw"
,
"local_release_dir"
:
"/vagrant/temp"
,
"download_run_once"
:
"False"
,
# Override the default 'calico' with flannel.
# inventory/group_vars/k8s-cluster.yml
"kube_network_plugin"
:
"flannel"
,
}
config
.
vm
.
network
:private_network
,
ip:
ip
...
...
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