Code Monkey home page Code Monkey logo

packer-azure's Introduction

packer-azure Build Status Code Coverage

Packer is an open source tool for creating identical machine images for multiple platforms from a single source configuration. This is an Azure plugin for Packer.io to enable Microsoft Azure users to build custom images given an Azure image.

You must have an Azure subscription to begin using Azure. You can build both Linux and Windows Azure images (targets) from both Windows and Linux dev-boxes (clients) with these plugins.

Packer version the plug-ins were tested is 0.7.5

Usage

packer-azure utilizes Service Management REST API and Storage Services REST API and consists of two plug-ins: packer-builder-azure and packer-provisioner-azure-custom-script-extension (for Windows targets). For Linux targets use well known "shell" provisioner; More information about the custom script provisioner can be found at http://msdn.microsoft.com/en-us/library/dn781373.aspx To start using the plugin you will need to get PublishSetting profile for your azure subscriptions. Visit https://manage.windowsazure.com/publishsettings to download the publish profile for the currently logged in user.

You can download binaries from the releases for this project and drop them in your packer install directory or you can build the plugins from source (see below). Configuration examples can be found in the config_examples directory.

Building from source

  • Install Go 1.4.1 or newer. Go and packer-azure dependencies require git and mercurial to be installed as well.
  • Install packer
  • To build the plugins set the GOBIN environment variable to your packer install directory and run go get github.com/Azure/packer-azure/packer/plugin/...

Dependencies (not up to date)

  • code.google.com/p/go.crypto
  • code.google.com/p/go-uuid/uuid
  • github.com/mitchellh/go-fs
  • github.com/mitchellh/iochan
  • github.com/mitchellh/mapstructure
  • github.com/mitchellh/multistep
  • github.com/mitchellh/packer
  • github.com/hashicorp/go-version
  • github.com/hashicorp/yamux
  • github.com/hashicorp/go-msgpack/codec

packer-azure's People

Contributors

boumenot avatar lalyos avatar ldanielw1 avatar paulmey avatar ravbaba avatar shalupov avatar snesha avatar vladimir-shcherbakov avatar

Watchers

 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.