Internal "vagrant cloud" or catalog file use?

251 views
Skip to first unread message

David Carmean

unread,
Apr 21, 2014, 4:21:40 PM4/21/14
to vagra...@googlegroups.com

I've discovered that if I give the vagrant command a local filename of a catalog .json file, I do get box versioning and provider selection, but if I serve the same file via http, vagrant is not happy.

Is there any means to internally (behind my firewall) emulate the cloud functionality or at least serve the catalog/metadata over http?

Thanks.

Mitchell Hashimoto

unread,
Apr 21, 2014, 4:43:29 PM4/21/14
to vagra...@googlegroups.com
David,

The HTTP method should work fine. The way Vagrant detects if it is a
catalog file is by performing a HEAD request and looking for a content
type of JSON. Make sure the web server you're putting the JSON onto
supports that.

Best,
Mitchell
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages