Git Product home page Git Product logo

packer-debian9's Introduction

Packer Templates: Debian 9 (stretch)

Notice: This repository is no longer maintained as Debian 9 is oldstable and I have no intention of creating packer-debian10.

I recommend using the Official Cloud Images for Openstack with cloud-init

Build Status

Fully automated installation of Debian 9

Supported Platforms

  • AWS EC2 (EBS AMI)
  • QEMU-KVM (qcow2)

Dependencies

EC2 AMI

Uses

Key Features

  • Dynamically discovers (and uses) latest official stretch AMI

Instructions

Build

./build.sh ec2ami

It will likely fail, requiring that some environment variables be set. Set the required variables and run it again, for example:

AWS_ACCESS_KEY_ID=AMJYP8GJ2LPLJHFCQIL \
AWS_SECRET_ACCESS_KEY=dNJubuKt5xWn32x4GaGjH2QlrvGWEdQ5fdDKKCoZ \
AWS_REGION=us-east-1 \
AWS_VPC_ID=vpc-qq05ntcj \
AWS_SUBNET_ID=subnet-tcjt9nfm \
AWS_SECURITY_GROUP_ID=sg-ia7repbg \
./build.sh ec2ami

Run ./build.sh --help for further usage instructions

QEMU-KVM

Uses

Key Features

  • Partitioning with LVM
  • Enables persistent network names
  • Enables serial console

Instructions

Install Dependencies (Debian/Ubuntu)

apt-get update && apt-get install qemu-kvm

Install Dependencies (RHEL/CentOS)

yum install qemu-kvm

Build

./build.sh qemu-kvm
Output

Output directory defaults to ./output/, configurable with -var 'output_dir=/path/to/dir'

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.