GithubHelp home page GithubHelp logo

mandy72 / packer-example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from carterventures/packer-example

0.0 1.0 0.0 151 KB

An example using packer (http://packer.io) for creating a basic ubuntu VM with a single package install (git)

License: The Unlicense

Shell 100.00%

packer-example's Introduction

Example: Building Systems With Packer

This is a simple example for using Packer (http://packer.io) to build two types of systems:

  1. A VMWare Fusion Virtual Machine (Mac OS X)
  2. An Amazon AMI

The end result will be output machine templates that run a basic Ubuntu 12.04 LTS release and an install of "Git". This can obviously be extended to use provisioners and create more interesting machines - but I intend this to be a simple example of using Packer to build basic machines.

Instructions

  1. Install http://packer.io according to directions.
  2. Clone this repository.
  3. Modify some basic settings (you may want to use a local Ubuntu ISO rather than downloading from the internet) and add your Amazon Access Key / Secret Access Key (etc.)
  4. To create a VMWare Fusion machine run the command (from the git checkout directory) packer build vmware-example.json
  5. To create an Amazon AMI run the command packer build ami-example.json
  6. To create both at the same time, run packer build system-build.json

NOTE: There might be some issues downloading the ubuntu preseed file based on your local network environment - you can also download the preseed cfg file and host it on a 'local' web server.

This project was originally created with Packer v. 0.4.1

packer-example's People

Contributors

chadothompson avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.