Skip to content

Instantly share code, notes, and snippets.

@scheffield
Last active June 26, 2017 12:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save scheffield/d0644f6a064b5eb14fef to your computer and use it in GitHub Desktop.
Save scheffield/d0644f6a064b5eb14fef to your computer and use it in GitHub Desktop.
How to share a vagrant box using https://atlas.hashicorp.com
  1. Sign Up and configure the box' meta data following the Atlas manual

  2. Provision your box as you like

  3. Find the name of your box

    $ VBoxManage list vms
  4. Package your box

    $ vagrant package --base <box_name>
    
  5. Upload it in the atlas

  6. Use it

    Vagrant.configure(2) do |config|
      config.vm.box = "<username>/<boxname>"
    end
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment