vagrantshadow

command module
v0.0.0-...-f23bb9e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2018 License: BSD-2-Clause Imports: 17 Imported by: 0

README

vagrantshadow

Build Status

vagrantshadow provides a very stripped back Vagrant Cloud capability that you can host behind a firewall with private boxes. Currently it really only provides the discovery and download capability, and relies on .box files to be stored in a directory for discovery/serving.

Steps you need to undertake to use vagrantshadow:

  1. Copy the boxes that you want to serve into a directory (it is easier if this is the directory you will launch vagrantshadow from).
  2. Ensure the boxes are named in the form username-VAGRANTSLASH-boxname__version__provider.box. These are the only ones that will get served. If there are multiple versions per box, the highest version box will be set as current by default.
  3. Run vagrantshadow. It will default to a hostname of "localhost" and port of "8099". These are important as they are where the boxes will be served from, so if you are hosting other than locally you will need to change this. If you are exposing the service on a server with an external hostname of "acme.org" ensure that this is the value you pass to vagrantshadow, as this will be used to construct the download URLs.

You should now have a hosted Vagrant Cloud! To access this, you will need to do the following:

  1. For Linux/Mac, type the following at a shell prompt: export VAGRANT_SERVER_URL=http://localhost:8099 (adjust according to host/port). This will redirect Vagrant to your server rather than Vagrant Cloud.
  2. Use commands as per normal. Versions will be reported correctly, allowing version updates and alerts.

Any issues, let me know!

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Godeps
_workspace/src/github.com/davecgh/go-spew/spew
Package spew implements a deep pretty printer for Go data structures to aid in debugging.
Package spew implements a deep pretty printer for Go data structures to aid in debugging.
_workspace/src/github.com/go-fsnotify/fsnotify
Package fsnotify provides a platform-independent interface for file system notifications.
Package fsnotify provides a platform-independent interface for file system notifications.
_workspace/src/github.com/gorilla/context
Package context stores values shared during a request lifetime.
Package context stores values shared during a request lifetime.
_workspace/src/github.com/gorilla/mux
Package gorilla/mux implements a request router and dispatcher.
Package gorilla/mux implements a request router and dispatcher.
_workspace/src/github.com/mcuadros/go-version
Version normalizer and comparison library for go, heavy based on PHP version_compare function and Version comparsion libs from Composer (https://github.com/composer/composer) PHP project
Version normalizer and comparison library for go, heavy based on PHP version_compare function and Version comparsion libs from Composer (https://github.com/composer/composer) PHP project
_workspace/src/github.com/pmezard/go-difflib/difflib
Package difflib is a partial port of Python difflib module.
Package difflib is a partial port of Python difflib module.
_workspace/src/github.com/stretchr/testify/assert
Package assert provides a set of comprehensive testing tools for use with the normal Go testing system.
Package assert provides a set of comprehensive testing tools for use with the normal Go testing system.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL