GithubHelp home page GithubHelp logo

gifflet / packer-qemu-templates Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jakobadam/packer-qemu-templates

0.0 0.0 0.0 1.35 MB

Packer qemu templates

License: Mozilla Public License 2.0

Shell 36.85% Batchfile 57.56% PowerShell 5.59%

packer-qemu-templates's Introduction

NOTE: The templates are mostly unmaintained. I do, however, merge MRs. Reach out if you interested in taking over. Kind regards, Jakob

Introduction

The packer-qemu-templates provides Packer templates for unattended building of relevant virtual machine images in the qcow2 format for use with KVM.

In addition, all templates for use with Vagrant, through vagrant-libvirt, are configured to let Packer create a Vagrant box through the libvirt post-processor.

More info: https://aarhusworks.com/2014/08/26/unattended-installation-of-vm-images-with-packer.html

Status

Currently the project includes templates for Ubuntu, CentOS, Debian and Windows. In other words, the OSes of the VMs I and the other contributors use on a day-to-day basis.

Feel free to contribute more:-)

Usage

Build qcow2 image

Go into the relevant template directory and run packer build on the relevant json file.

$ cd windows
$ packer build -var-file windows.json windows-2012-R2-standard-vagrant.json

Templates names that ends with vagrant automatically creates a vagrant box.

Add the box to Vagrant

$ vagrant box add box/windows-2012-R2-standard.box --name windows-2012-R2-standard

Init vagrantfile

$ mkdir project && cd $_
$ vagrant init windows-2012-R2-standard

Start machine

$ vagrant up

Get IP of machine

$ vagrant ssh-config

Acknowledgements

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.