Created
August 6, 2015 18:26
-
-
Save lucazz/922bac56159c4952e96e to your computer and use it in GitHub Desktop.
Simple Vagrantfile
This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.provision "shell", inline: "echo All done" | |
config.vm.define "centos7" do |centos7| | |
centos7.vm.box = "centos7" | |
centos7.vm.network "private_network", ip: "172.16.15.14" | |
centos7.vm.network "public_network", bridge: [ | |
"en4: Thunderbolt Ethernet", | |
"en0: Wi-Fi", | |
] | |
centos7.vm.synced_folder "../Downloads", "/vagrant_data" | |
centos7.vm.provider "vmware_fusion" do |v| | |
v.gui = false | |
v.vmx["memsize"] = "1024" | |
v.vmx["numvcpus"] = "1" | |
end | |
end | |
config.vm.define "trusty64" do |trusty64| | |
trusty64.vm.box = "trusty64" | |
trusty64.vm.network "private_network", ip: "172.16.15.13" | |
trusty64.vm.network "public_network", bridge: [ | |
"en4: Thunderbolt Ethernet", | |
"en0: Wi-Fi", | |
] | |
#trusty64.vm.synced_folder "../Downloads", "/vagrant_data" | |
trusty64.vm.provider "vmware_fusion" do |v| | |
v.gui = false | |
v.vmx["memsize"] = "1024" | |
v.vmx["numvcpus"] = "1" | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment