On Wed, Jun 5, 2019 at 9:48 AM Benjamin Lu <[email protected]> wrote:
> When you use Microsoft Hyper V with Vagrant, it will detect an IP Address > for later use. Is there a way for me to grab the IP Address for my own > Vagrantfile. This is something that I need to be able to use the plugin > "vagrant-hostsupdater" > Hi there - I assume you are talking about the IP assigned by Hyper-V when a guest is brought up? I don't think you can actually know this IP exactly before a VM is created. However, you shouldn't need that IP at all? That plugin requires you set up a private network anyway, which it then uses to fake out DNS for the rest of your guests. So if you need an IP for that, it would be set by you in your Vagrantfile as a :private_network config option. > -- > 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/59a86c17-762b-4e4e-b2d3-9464e28245b6%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/59a86c17-762b-4e4e-b2d3-9464e28245b6%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Brian Cain -- 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/CADHESCWqXPu8B4O0oXiyF-eqd%3DDAE8AVB8RnThqY1VBVs2WE6w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
