cloudspace-devops / packer-image-scripts

Cloudspace's Packer scripts to configure vagrant, virtualbox and docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cloudspace DevOps -- Packer

The repo contains Clousdpace's scripts & configs to build client VMs (vagrant, AMIs, VMWare, etc.) with Packer.io.

Default Builds

For most projects you can use a default build and then customize as needed. Here are links to download default Vagrant (.box files), Virtualbox (.ovf & .vmdk), and aws (ami listed in .txt file)

Building Packer Images

  1. Set your AWS key/secret as an environment variable

    export AWS_ACCESS_KEY_ID="xxxxxxxxx"
    export AWS_SECRET_ACCESS_KEY="xxxxxxx
    
  2. Create all base images

    ./build-all.sh
    
  3. Run the desired individual build script

    packer build build-name.json
    
  4. To create a custom project box, copy the closest match into the packer-projects folder, update the base image source, add/create the appropriate shell script(s), and run the build.

About

Cloudspace's Packer scripts to configure vagrant, virtualbox and docker

License:MIT License


Languages

Language:Nginx 55.4%Language:Ruby 41.5%Language:Shell 3.1%