Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add multiple network interfaces #106

Merged
merged 5 commits into from
Jul 16, 2018
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion developers/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ Vagrant.configure("2") do |config|
sudo apt-get update
sudo apt-get install -y docker-ce=${DOCKER_VERSION}
# Manage Docker as a non-root user
sudo groupadd docker
sudo usermod -aG docker $USER

# Install Kubernetes
Expand Down Expand Up @@ -89,6 +88,13 @@ Vagrant.configure("2") do |config|
SHELL

config.vm.network :private_network, ip: "172.17.8.100"
# to simulate multiple interfaces
config.vm.network :private_network, ip: "172.17.8.50"
config.vm.network :private_network, ip: "172.17.8.60"
config.vm.network :private_network, ip: "172.17.8.70"
config.vm.network :private_network, ip: "172.17.8.80"
config.vm.network :private_network, ip: "172.17.8.90"

config.vm.provider :virtualbox do |v|
v.customize ["modifyvm", :id, "--cpus", 2]
v.customize ["modifyvm", :id, "--memory", 4096]
Expand Down