royge / devbox

A vagrant devbox built with packer and ansible

Home Page:http://traintracks.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Devbox

I'm using Ubuntu instead of Mac.

Getting Started

  1. Install virtualbox

    $ sudo apt-get install virtualbox
    
  2. Install vagrant

    $ sudo apt-get install vagrant
    
  3. Install packer

    $ curl https://releases.hashicorp.com/packer/0.12.2/packer_0.12.2_linux_amd64.zip -o packer_0.12.2_linux_amd64.zip
    $ sudo unzip packer_0.12.2_linux_amd64.zip -d /usr/local
    
  4. Install Ansible

    $ sudo apt-get install software-properties-common
    $ sudo apt-add-repository ppa:ansible/ansible
    $ sudo apt-get update
    $ sudo apt-get install ansible
    
  5. Clone the repo

    $ git clone https://github.com/r0y3/devbox.git
    $ cd devbox/packer
    $ packer build devbox.json
    $ cd ..
    
  6. Add created box to vagrant

    $ vagrant box add devbox packer/builds/devbox.box
    $ vagrant up
    

About

A vagrant devbox built with packer and ansible

http://traintracks.io


Languages

Language:Shell 100.0%