Skip to content

Latest commit

 

History

History
115 lines (87 loc) · 3.12 KB

README.md

File metadata and controls

115 lines (87 loc) · 3.12 KB

Features

  • UTC set
  • /var /usr /home /tmp are on separate partitions
  • /home /tmp are mounted with nosuid, nodev and noexec
Boxes
  • lenny Lenny 5.0.10
  • squeeze Squeeze 6.0.10
  • wheezy Wheezy 7.4.0
  • jessie Jessie 8.1.0
  • 12.04 Precise Pangolin
  • 13.04 Raring Ringtail
  • 13.10 Saucy Salamander
  • 14.10 Utopic Unicorn

Todo

add Ubuntu boxes for:

  • 12.10 Quantal Quetzal

Requirements

Packer Install

OSX via homebrew:

$ brew tap homebrew/binary
$ brew install packer

All else:

Packer Setup Instructions

Box Build

1. Clone

$ git clone https://github.com/lxhunter/packer-templates.git
# move into the folder
$ cd packer-templates/templates/debian

2. a.) build for all providers (virtualbox && vmware)

$ packer build debian-lenny-5.0.10-amd64-netinst.json

2. b.) build only for virtualbox

$ packer build -only=virtualbox-iso debian-lenny-5.0.10-amd64-netinst.json

2. c.) build only for vmware

$ packer build -only=vmware-iso debian-lenny-5.0.10-amd64-netinst.json

3. ... a lot of building going on ...

4. a.) adding virtualbox box to vagrant

$ vagrant box add debian-lenny-5.0.10-amd64-netinst-provisionerless ../../virtualbox/debian-lenny-5.0.10-amd64-netinst-provisionerless.box

4. b.) adding vmware box to vagrant

$ vagrant box add debian-lenny-5.0.10-amd64-netinst-provisionerless ../../vmware/debian-lenny-5.0.10-amd64-netinst-provisionerless.box

5. enjoy fresh packed boxes

Quote

In the words of Friedrich Nietzsche:

"To live is to suffer, to survive is to find some meaning in the suffering."

Credits

Heavily stolen from: basebox-packer

Contribute

Tutorial

License and Author

Author:: Alexander Jäger

Copyright 2014

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.