Wow, thank you! It works like charm.

On Friday, March 11, 2016 at 3:15:00 PM UTC+1, [email protected] 
wrote:
>
> Vagrant version
>
> Installed Version: 1.8.1
> Latest Version: 1.8.1
> Host operating system
>
> Ubuntu 15.10
> Guest operating system
>
> Ubuntu 14.04
> Vagrantfile
>
> Vagrant.configure(2) do |config|
>   config.vm.synced_folder "files/ansible/", "/external/"
>
>   config.vm.define "master" do |master|
>    master.vm.box = "ubuntu/trusty64"
>    master.vm.hostname = "master"
>    master.vm.network "private_network", ip: "192.168.56.11"
>    config.vm.provider "virtualbox" do |vbox1|
>     vbox1.customize ["modifyvm", :id, "--memory", 4096]
>     vbox1.customize ["modifyvm", :id, "--cpus", 4]
>     vbox1.customize ["setextradata", :id, 
> "VBoxInternal2/SharedFoldersEnableSymlinksCreate/v-root", "1"]
>     config.vm.provision "ansible_local" do |ansible|
>      ansible.verbose = true
>      ansible.playbook = "/external/master-playbook.yml"
>      end
>     end
>    end
>
>   config.vm.define "slave" do |slave|
>    slave.vm.box = "ubuntu/trusty64"
>    slave.vm.hostname = "slave"
>    slave.vm.network "private_network", ip: "192.168.56.12"
>    config.vm.provider "virtualbox" do |vbox2|
>     vbox2.customize ["modifyvm", :id, "--memory", 2048]
>     vbox2.customize ["modifyvm", :id, "--cpus", 2]
>     vbox2.customize ["setextradata", :id, 
> "VBoxInternal2/SharedFoldersEnableSymlinksCreate/v-root", "1"]
>     config.vm.provision "ansible_local" do |ansible|
>      ansible.verbose = true
>      ansible.playbook = "/external/slave-playbook.yml"
>      end
>     end
>    end
> end```### Expected behaviorMy intention was to create 2 different vbox 
> machine with different memory and cpu settings. ### Actual behaviorThe vbox 
> machines are created but both have the same memory settings (2048 MB), what 
> am I doing wrong here? ### ReferencesHaven't found any yet
>
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/a088f87a-b409-4904-963c-3bb55b41fadf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to