{"id":24160480,"url":"https://github.com/simpleweb/vagrant-boxes","last_synced_at":"2026-05-24T16:39:17.438Z","repository":{"id":13614723,"uuid":"16307865","full_name":"simpleweb/vagrant-boxes","owner":"simpleweb","description":null,"archived":false,"fork":false,"pushed_at":"2014-01-28T15:04:40.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-01-12T16:14:12.048Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simpleweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-28T09:49:59.000Z","updated_at":"2014-01-28T15:04:41.000Z","dependencies_parsed_at":"2022-09-10T09:20:21.121Z","dependency_job_id":null,"html_url":"https://github.com/simpleweb/vagrant-boxes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simpleweb%2Fvagrant-boxes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simpleweb%2Fvagrant-boxes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simpleweb%2Fvagrant-boxes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simpleweb%2Fvagrant-boxes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simpleweb","download_url":"https://codeload.github.com/simpleweb/vagrant-boxes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241455385,"owners_count":19965602,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-12T16:14:18.054Z","updated_at":"2026-05-24T16:39:12.395Z","avatar_url":"https://github.com/simpleweb.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vagrant Boxes\n\nIf you don't find what you're looking for here, please see [veewee](https://github.com/jedi4ever/veewee) for more information.\n\n## Getting Started\n\nTo build a new Vagrant VM image for use with Virtual Box you'll need a few\nthings:\n\n1. Ruby (included with Mavericks)\n1. [Bundler](http://bundler.io/) for Ruby\n1. [Virtual Box](https://www.virtualbox.org/)\n1. [Vagrant](http://www.vagrantup.com/)\n1. A bit of time…\n\nCore services in place clone this repository to a sensible location:\n\n    $ git clone git@github.com:simpleweb/vagrant-boxes.git\n    $ cd vagrant-boxes\n\n    # Download the required gems\n    $ bundle install --path=./.bundle\n\n**Note:** A path has been set to avoid polluting your system gems, this will\nkeep all the required dependencies with in `./.bundle` directory within the\nrepo.\n\n\n## Building a Vagrant VM image\n\nIt will help to find a template to work from for the distro you require – be\ncareful with blindly using the templates however or you may get unexpected\nresults.\n\n    $ bundle exec veewee vbox template | grep -i ubuntu\n\nFound your template? Define a new box and tell it to inherit from your chosen\ntemplate. Change `myubuntubox` to the name of your box, and the last string to\nthe name of the template (or leave it out for no template).\n\n    $ bundle exec veewee vbox define 'myubuntubox' 'ubuntu-12.10-server-amd64'\n\nAt this stage I would suggest going through your box and customising the tasks\nthat happen. For more information check out [customising definitions](https://github.com/jedi4ever/veewee/blob/master/doc/customize.md).\n\nWhen you're ready to build simply run the `build` method and watch the magic happen.\n\n    $ bundle exec veewee vbox build 'myubuntubox'\n\n## Export the VM image to a .box file\n\nIn order to use the box in Vagrant, we need to export the VM as a [base box](http://docs.vagrantup.com/v2/boxes.html) (e.g. export to the .box filetype):\n\n\n    $ bundle exec veewee vbox export 'myubuntubox'\n\n\nThis is actually calling `vagrant package --base 'myubuntubox' --output 'boxes/myubuntubox.box'`.\n\nThe machine gets shut down, exported and will be packed in a `myubuntubox.box` file inside the current directory.\n\n## Add the exported .box to Vagrant\n\nTo import it into Vagrant's box repository simply type:\n\n    $ vagrant box add 'myubuntubox' 'myubuntubox.box'\n\nThe parameter 'myubuntubox' sets the name that Vagrant will use to reference the box (i.e. in the `Vagrantfile`).\n\n## Use the added box in Vagrant\n\nTo use your newly generated box in a fresh project execute these commands:\n\n    $ vagrant init 'myubuntubox'\n\nIf you already have a project running with Vagrant, open the `Vagrantfile` and change the value of `config.vm.box` to the new box name:\n\n```ruby\nVagrant.configure(\"2\") do |config|\n  config.vm.box = \"myubuntubox\"\nend\n```\n\nSee the [Vagrantfile machine settings](http://docs.vagrantup.com/v2/vagrantfile/machine_settings.html) for more details on setting up your `Vagrantfile` configuration.\n\nNow start the new environment with `vagrant up` and log in with `vagrant ssh` to enjoy your new environment.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimpleweb%2Fvagrant-boxes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimpleweb%2Fvagrant-boxes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimpleweb%2Fvagrant-boxes/lists"}