Git Product home page Git Product logo

packer-warehouse's Introduction

Packer-Warehouse

A warehouse to help you pack and ship your boxes!

Here, you'll find the templates you need for packer. Please do share your templates with others :)

QuickStart - Build Ubuntu vagrant box

git clone https://github.com/pierreozoux/packer-warehouse.git
cd packer-warehosue
packer build \
  -var-file=var-files/ubuntu/13.04.json \
  ubuntu.json

QuickStart2 - Build another box

  1. read the readme/distribtion.md file
  2. if there are steps needed, do them
  3. adapt variables in the var-files/ditribution/file.json
  4. adapt variables in distribution.json
  5. check the scripts in scripts/distribution/
  6. validate with packer validate -var-file=var-files/ditribution/file.json distribution.json
  7. build with packer build -var-file=var-files/ditribution/file.json distribution.json

Explanations of directory structure

http

It contains files that your VM will require during the build. It will be served by your workstation thou a temporary http server. You can access this server in the boot_command via 2 variables HTTPIP and HTTPPort. Please have a look to the ubuntu template or packer documentation for more explanations.

scripts

It contains the scripts used by the shell provisionner.

var-files

It contains the json files needed to customise the different templates.

readme

For each distribution, if the code is not enough, there is a little readme to explain how to work with!

Contributing

  1. Fork it
  2. Create your recipe branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some features')
  4. Push to the branch (git push origin my-new-features)
  5. Create new Pull Request

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.