Hello All -

I have been using Vagrant to setup VMs and also call scripts from GitHub 
repos that are open, as in not password protected, using the RAW link to 
the scripts.

Example:
*script_SetupDocker = 
"https://raw.githubusercontent.com/mduttaroy-devops/configs-machines-testing/master/environment.scripts/setup.docker.sh"*
and then:
*vagrantDocker.vm.provision "shell", path: script_SetupDocker*

However, am unable to run those same scripts when in a BitBucket Repo, 
which is not public but password protected.

Would there be a way to call scripts that I can provide a username to (of 
BitBucket or GitHub) and then it asks me for the password once?
It would be great if it asked me for the password once and not for each 
script.

I have been able to call scripts sending an array of arguments.

I am thinking there must be some way to send a username and then type in a 
password?

Or should my BitBucket repo should have an ssh key based authentication 
already set up?

Please let me know when you get  a chance.

Thank you for your help.

Mono

-- 
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/861ad46e-d550-4d19-aa3c-7134622ced5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to