Skip to content

Instantly share code, notes, and snippets.

@neofob
Created March 4, 2013 22:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neofob/5086391 to your computer and use it in GitHub Desktop.
Save neofob/5086391 to your computer and use it in GitHub Desktop.
vagrant convention
URL: http://docs.vagrantup.com/v1/docs/base_boxes.html
Convention over Configuration
Choice is a good thing, so just about everything in Vagrant can be changed. However, it's easier for others to use Vagrant when you follow a set of conventions. Now, while these aren't enforced conventions, if you plan to distribute the box, it is recommended you follow the following where possible:
Hostname: vagrant-[os-name], e.g. vagrant-debian-lenny
Domain: vagrantup.com
Root Password: vagrant
Main account login: vagrant
Main account password: vagrant
Also keep in mind that, in order to simplify configurations, Vagrant make assumptions about the main account login/password. It will assume the text 'vagrant' for both values. If any of these are changed, you will need to remember to specify them in the Vagrantfile using the appropriate configuration methods before packaging the box.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment