https://github.com/dolph/vagrant-base-box
Automated creation of vagrant base boxes, mostly using Ansible.
https://github.com/dolph/vagrant-base-box
Last synced: about 1 year ago
JSON representation
Automated creation of vagrant base boxes, mostly using Ansible.
- Host: GitHub
- URL: https://github.com/dolph/vagrant-base-box
- Owner: dolph
- Created: 2014-02-26T13:43:18.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-01-20T17:27:09.000Z (over 11 years ago)
- Last Synced: 2025-06-17T06:03:21.045Z (about 1 year ago)
- Language: Shell
- Size: 152 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Build Vagrant base boxes from scratch
=====================================
This is an attempt to document and automate most of the process for creating
base box images for use with [vagrant](http://www.vagrantup.com/) with the
following developer-oriented goals:
- *Vanilla*: no unnecessary packages are included (such as those required by
`chef` or `puppet`)
- *Insecure*: an [insecure public SSH
key](https://github.com/mitchellh/vagrant/tree/master/keys) is injected and
the root password is set to `vagrant`
- *Public*: a well-known username and password is created (user `vagrant` with
password `vagrant`)
These goals are a result of [Vagrant's own
conventions](http://docs.vagrantup.com/v2/boxes/base.html).
This has been tested to produce a Debian 7.4.0 Wheezy 64-bit (AMD64) base box.
Usage
-----
Start with a virtual machine that you'd like to use to create a base box.
Configure it however you'd like.
Point the bootstrap script to the host name of the virtual machine you want to
package:
./configure_insecure_base_box.sh
After the host is prepared, it will be shutdown and you'll be prompted to
package it (this step is provider-specific, but VirtualBox users will be given
a command to run). You'll then have your own `.box` file to share with the
world.