Way to set user/password for bridge network

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

Way to set user/password for bridge network

猫粮猫粮
I'm using vagrant with company network, which requires basic authentication to get a valid ip assigned.
Is there an existing parameter I can pass in as username /password? thanks!

--
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/a0fcbf51-9d5a-4b12-b2fa-2c8472df443e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Way to set user/password for bridge network

Alvaro Miranda Aguilera
Hello

Not that I am aware included on vagrant.

So my suggestion would be.

1. configure the network to not configure the guest:   config.vm.network "public_network", auto_config: false

2. Use a shell script to all this configuration.
To avoid having passwords on the script, you can use environment variables, and the script can read the values from there.

Alvaro.

On Thu, Jun 22, 2017 at 3:50 AM, 猫粮猫粮 <[hidden email]> wrote:
I'm using vagrant with company network, which requires basic authentication to get a valid ip assigned.
Is there an existing parameter I can pass in as username /password? thanks!

--
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/a0fcbf51-9d5a-4b12-b2fa-2c8472df443e%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/CAHqq0ewhheiB81zeuSp_0PupjyxFebFUmzBzA-tWoRMTo7uK6A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.