Skip to content

d-adler/packer-templates

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

195 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

packer-templates

Build Status

Templates for Packer

Usage

Clone the repository:

$ git clone https://github.com/kaorimatz/packer-templates && cd packer-templates

Build a machine image from the template in the repository:

$ packer build fedora-20-x86_64.json

Configuration

You can configure each template to match your requirements by setting the following user variables.

User Variable Default Value Description
compressin_level 6 Documentation
cpus 1 Number of CPUs
disk_size 40000 Documentation
headless 0 Documentation
memory 512 Memory size in MB
mirror A URL of the mirror where the ISO image is available

Example

Build an uncompressed Fedora 20 vagrant box with a 4GB hard disk:

$ packer build -var compression_level=0 -var disk_size=4000 fedora-20-x86_64.json

About

Templates for Packer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 66.3%
  • Ruby 33.7%