How to configure IP and network on VMWARE vSphere using Vagrant?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to configure IP and network on VMWARE vSphere using Vagrant?

ashok vaddevalli
I have created guest Windows VM on vsphere using Vagrant vsphere provider. In template it's already configured IP and network, using this template I need to create multiple VM's and configure with different IP's.
How to configure IP on guest VM using Vagrant?

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/0b02a92a-f7d6-4726-a0fd-23b8e6925664%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to configure IP and network on VMWARE vSphere using Vagrant?

Alvaro Miranda Aguilera
hello

i think we need to back out of vagrant first.

if you have a template with a fixed IP on it, you can use only one.

Vagrant won't help there.

So, you can implement a DHCP, save a new template that uses DHCP, and then vagrant can spin more than one.

Vagrant talks to VCSA and query information about the VM (so you need to have vmtools there) and will grab the IP that got assigned.

from there vagrant will be able to connect to this new VM using the user vagrant and the known public/private ssh key.

Alvaro.

On Fri, Aug 11, 2017 at 8:05 PM, ashok vaddevalli <[hidden email]> wrote:
I have created guest Windows VM on vsphere using Vagrant vsphere provider. In template it's already configured IP and network, using this template I need to create multiple VM's and configure with different IP's.
How to configure IP on guest VM using Vagrant?

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/0b02a92a-f7d6-4726-a0fd-23b8e6925664%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0exG13LrN_e99w9OkvDZiiNeNs943RCTzixuVzoBzsJBEg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.