Hello,
Can you share your Vagrantfile?
basically, when you define a new box, you can put the customization block
inside.
ie:
Vagrant.configure("2") do |config|
config.vm.provision "shell", inline: "echo Hello"
config.vm.define "web" do |web|
web.vm.provider "virtualbox" do |v|
v.memory = 1024
v.cpus = 2
end
web.vm.box = "apache"
end
config.vm.define "db" do |db|
db.vm.provider "virtualbox" do |v|
v.memory = 2048
v.cpus = 2
end
db.vm.box = "mysql"
end
end
Alvaro.
On Fri, Mar 4, 2016 at 4:09 AM, <[email protected]> wrote:
> Good morning....
>
> I am very new with vagrant so please bear with me....
>
> i can create a cluster of 4 centos vm's. it works great and even i can do
> it.
>
> however what i need is to be able to create the same cluster with each of
> the vm's allocated a different amount of memory.
>
> is that possible??
>
> thank you in advance for your guidance.
>
> danab
>
> --
> 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/b94fdb00-b06d-4d8d-9d79-b7472ffb9f30%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/b94fdb00-b06d-4d8d-9d79-b7472ffb9f30%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
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/CAHqq0exo1JNm_mGHBwWNbAT_gbsxdbGojiOZ6R5Bz_%3DL0LWJ7g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.