Hi,
Thanks for your reply!
Here is what i am trying to do:
I want to bring up 2 virtual machines with static ip's.
I just want to know how i could modify my Vagrant file to do the same?
Can i do it the way below:
Vagrant.configure('2') do |config|
config.vm.define :first do |node|
node.vm.box = "ubuntu-12.04-server-i386"
node.vm.network :private_network, :ip => 'xxx.xxx.xxx.xxx'
end
config.vm.define :second do |node|
node.vm.box = "ubuntu-12.04-server-i386"
node.vm.network :private_network, :ip => 'xxx.xxx.xxx.xxx'
end
end
Is this the correct approach? Is there a better method to do this?
Thanks!