Created
October 17, 2016 02:29
-
-
Save minyk/e486bf7b0e852ee7777547229ef93da3 to your computer and use it in GitHub Desktop.
Vagrant within another machinefolder
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
machine.vm.provider 'virtualbox' do |v, override| | |
v.name = machine.vm.hostname | |
v.cpus = machine_type['cpus'] || 2 | |
v.memory = machine_type['memory'] || 2048 | |
v.customize ['modifyvm', :id, '--natdnshostresolver1', 'on'] | |
v.customize ['setproperty', 'machinefolder','/data/vagrant/vmz'] | |
override.vm.network :private_network, ip: machine_type['ip'] | |
end |
Author
minyk
commented
Oct 17, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment