Private Vagrant box repo

556 views
Skip to first unread message

Alfredo De Luca

unread,
Apr 19, 2018, 5:59:21 PM4/19/18
to vagra...@googlegroups.com
Hi all.
what's the best way to create a private/internal vagrant box repository? 
I thought I can have a nginx/http server but not sure how to do the rest.  
I used Artifactory in the past but can't do the same here. 
thanks  

/Alfredo

Alvaro Miranda Aguilera

unread,
Apr 20, 2018, 2:47:55 AM4/20/18
to vagra...@googlegroups.com
Hello

You can have an internal server, and host this json file to start.


If you keep the path as is then you can set this variable:

export VAGRANT_SERVER_URL=http://atlas.example.com

And then vagrant box add hashicorp/precise64 should check the json on your server.

When you confirm all is working as expected, then you can test different user/box names and update the content of the json to a local server.

Let me know how it goes.

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 vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAAWpFTH2%3DJgTRE%2BkJqxrMSTJb_nGyjni_TjRT760J2RtLBcpgw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Alfredo De Luca

unread,
Apr 21, 2018, 3:01:33 AM4/21/18
to vagra...@googlegroups.com
Thanks heaps 

/Alfredo

On Fri, 20 Apr 2018, 08:47 Alvaro Miranda Aguilera, <kik...@gmail.com> wrote:
Hello

You can have an internal server, and host this json file to start.


If you keep the path as is then you can set this variable:

export VAGRANT_SERVER_URL=http://atlas.example.com

And then vagrant box add hashicorp/precise64 should check the json on your server.

When you confirm all is working as expected, then you can test different user/box names and update the content of the json to a local server.

Let me know how it goes.

Alvaro.

On Thu, Apr 19, 2018 at 11:59 PM, Alfredo De Luca <alfredo...@gmail.com> wrote:
Hi all.
what's the best way to create a private/internal vagrant box repository? 
I thought I can have a nginx/http server but not sure how to do the rest.  
I used Artifactory in the past but can't do the same here. 
thanks  

/Alfredo

--
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 vagrant-up+...@googlegroups.com.



--
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 vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0eyLr24iL7yD4NZqCPPCPovw5oyBfeK6i6oRPjRyDUrzwg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages