Git Product home page Git Product logo

packer-cookiecutter's Introduction

Build Status GitHub Maintenance

packer-cookiecutter

Requirements

Quick start

To generate project from the packer-cookiecutter template, please run the following command.

cookiecutter [email protected]:ckaserer/packer-cookiecutter

Then the cookiecutter command ask for several questions on generated project as follows.

cookiecutter [email protected]:ckaserer/packer-cookiecutter
repo [changeme-repo]: 
git_org [ckaserer]: 
vm_name [changeme-vm]: 
root_pw [changeme-pw]: 

Then you get the generated project directory, packer-changeme.

Initial directories and files

The following is the initial directory structure generated in the previous section.

├── .ci                             <- scripts utilized in a CI can be put here
│   ├── build.sh                    <- cleanup and build vm script
│   └── test.sh                     <- execute build script wrapped via bashrc fuction
├── .github                         <- github issue templates
│   └── ISSUE_TEMPLATE
│       ├── bug_report.md
│       └── feature_request.md
├── .gitignore
├── .travis.yml                     <- travis ci definition
├── CODE_OF_CONDUCT.md
├── LICENSE                         <- GPLv3
├── README.md
├── Vagrantfile                     <- Vagrantfile to start VM as vagrant box
├── ansible                         
│   ├── main.yml                    <- core provisioning logic
│   └── requirements.yml            <- ansible galaxy dependencies can be added here
├── bashrc                          <- defines functions to build the VM
├── box-config.json
├── http
│   └── ks.cfg                      <- minimal kickstart file
└── scripts
    ├── 0-machine-id.sh             <- fix machine-id issue with duplicate IP addresses being assigned
    ├── 1-cabundle.sh               <- add trusted root certificate
    ├── 2-ansible.sh                <- install ansible to run core provising logic
    ├── 3-cleanup.sh                <- clean package cache, history,...
    └── 4-zerodisk.sh               <- Zero out free space to save space in the final image

packer-cookiecutter's People

Contributors

ckaserer avatar

Stargazers

Christian Bagley avatar

Watchers

James Cloos avatar  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.