Ok, thanks.

Thanks & Regards,
Shyam Biradar,
Email: [email protected],
Contact: +91 8600266938.

On Wed, Aug 24, 2016 at 9:14 PM, Chris Roberts <[email protected]>
wrote:

> Hi!
>
> > Once I am done with both vms, how can I go I back and configure first
> VM?
>
> The functionality you're describing is not currently implemented within
> vagrant, however, it is functionality that I intend to implement in the
> future. Currently vagrant will start and provision instances in order.
>
> > My doubt is whenever we say config.vm.define, does is create new vm?
>
> The Vagrantfile is a configuration file, and as such is processed prior
> starting and provisioning the instances.
>
> Cheers!
>
> On Mon, Aug 22, 2016 at 1:48 AM, Shyam Biradar <
> [email protected]> wrote:
>
>> Ok.
>>
>> Now the question is,
>>
>> Once I am done with both vms, how can I go I back and configure first VM?
>>
>> My doubt is whenever we say config.vm.define, does is create new vm?
>>
>> If yes, then how can I just run some configurations on already running
>> vm(Created by same Vagrantfile in previous steps) through Vagrantfile?
>>
>>
>>
>>
>>
>>
>> Thanks & Regards,
>> Shyam Biradar,
>> Email: [email protected],
>> Contact: +91 8600266938.
>>
>> On Sun, Aug 21, 2016 at 10:43 PM, Alvaro Miranda Aguilera <
>> [email protected]> wrote:
>>
>>> same principle
>>>
>>> # Vagrantfile API/syntax version. Don't touch unless you know what
>>> you're doing!
>>> VAGRANTFILE_API_VERSION = "2"
>>> Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
>>>   config.vm.box = "hashicorp/precise64"
>>>
>>>   config.vm.define "n1" do |n1|
>>>       n1.vm.hostname = "n1"
>>>       #this is n1 local, at this point n2 does not exists.
>>>       n1.vm.provision "shell", inline: "hello n1 provision"
>>>   end
>>>
>>>   config.vm.define "n2" do |n2|
>>>       n2.vm.hostname = "n2"
>>>       #this is n2 local, at this point n1 already exists.
>>>       n2.vm.provision "shell", inline: "hello n2 provision"
>>>   end
>>> end
>>>
>>> --
>>> 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 a topic in the
>>> Google Groups "Vagrant" group.
>>> To unsubscribe from this topic, visit https://groups.google.com/d/to
>>> pic/vagrant-up/28enLRixabk/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/vagrant-up/CAHqq0ez%2BLjuL50TrYWpD8c44Qc0DzNG_UpUOr0UWKk
>>> Rv7s3%3D1Q%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/vagrant-up/CAHqq0ez%2BLjuL50TrYWpD8c44Qc0DzNG_UpUOr0UWKkRv7s3%3D1Q%40mail.gmail.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/ms
>> gid/vagrant-up/CA%2B8yFHY%2B96spxKMNKEyGXi34o7PzU7HN610uvLr9
>> haS1pTg1fQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/vagrant-up/CA%2B8yFHY%2B96spxKMNKEyGXi34o7PzU7HN610uvLr9haS1pTg1fQ%40mail.gmail.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 a topic in the
> Google Groups "Vagrant" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/vagrant-up/28enLRixabk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/vagrant-up/CANhAuoBakvqnFzQXgdfYHgQaw6FB5BaewUjjVP_YhJ_Wp%3DQnRQ%
> 40mail.gmail.com
> <https://groups.google.com/d/msgid/vagrant-up/CANhAuoBakvqnFzQXgdfYHgQaw6FB5BaewUjjVP_YhJ_Wp%3DQnRQ%40mail.gmail.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/CA%2B8yFHaMfC%3D0w-Asve2MuuqkfytHFqi02MAZ-BZYtr_abNosKQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to