Last active
December 14, 2018 19:35
-
-
Save f9n/0aad0469b6f0bc090fbe0a542a0a8fda to your computer and use it in GitHub Desktop.
MultiVmVagrantfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Vagrant.configure("2") do |config| | |
| # define keyword ile birden fazla sanal makine ayarlari tanimlayabiliriz. | |
| config.vm.define "centos-7-cli" do |centos| | |
| centos.vm.box = "centos/7" | |
| centos.vm.network "private_network", ip: "10.0.0.10" | |
| centos.vm.hostname = "centos-7-cli" | |
| centos.vm.provider "virtualbox" do |vb| | |
| vb.name = "my-centos-7" | |
| vb.memory = "1024" | |
| vb.cpus = "1" | |
| end | |
| end | |
| config.vm.define "ubuntu-xenial64-cli" do |ubuntu| | |
| ubuntu.vm.box = "ubuntu/xenial64" | |
| ubuntu.vm.network "private_network", ip: "10.0.0.11" | |
| ubuntu.vm.hostname = "ubuntu-xenial64-cli" | |
| ubuntu.vm.provider "virtualbox" do |vb| | |
| vb.name = "my-ubuntu-xenial64" | |
| vb.memory = "1024" | |
| vb.cpus = "1" | |
| end | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment