Skip to content

Instantly share code, notes, and snippets.

@kishida
Created May 3, 2016 10:51
Show Gist options
  • Save kishida/6a5875cba0595d4100662f0943d5d337 to your computer and use it in GitHub Desktop.
Save kishida/6a5875cba0595d4100662f0943d5d337 to your computer and use it in GitHub Desktop.
Vagrantとりあえずふたつ起動
Vagrant.configure("2") do |conf|
conf.vm.box = "bento/centos-7.1"
conf.vm.define "console", primary: true do |host|
host.vm.network "private_network", ip: "192.168.34.21"
end
conf.vm.define "target" do |host|
host.vm.network "private_network", ip: "192.168.34.22"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment