packer-osc-plugins

module
v0.0.0-...-0fad828 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2019 License: MPL-2.0

README

Github All Releases

Packer Builders for Outscale (unofficial)

THERE IS NOW AN OFFICIAL OUTSCALE BUILDER https://www.packer.io/docs/builders/outscale.html

Requirements

  • Packer 1.3.2
  • Go 1.11 (to build the provider plugin)

Install

$ wget https://github.com/remijouannet/packer-osc-plugins/releases/download/v0.1/packer-osc-linux_amd64_v0.1.zip
$ unzip packer-osc-linux_amd64_v0.1.zip
$ mkdir ~/.packer.d/plugins/ && mv packer-osc-linux_amd64_v0.1/* ~/.packer.d/plugins/
$ chmod +x ~/.packer.d/plugins/*

What's Working

For the moment only osc-ebs has been tested you can follow the documentation https://www.packer.io/docs/builders/amazon.html it's suppose to work the same way the only difference is to not use "custom_endpoints_ec2" but :

"endpoints": {"ec2" : "fcu.eu-west-2.outscale.com"},

Build without docker

Clone repository to: $GOPATH/src/github.com/remijouannet/packer-osc-plugins

$ mkdir -p $GOPATH/src/github.com/remijouannet; cd $GOPATH/src/github.com/remijouannet
$ git clone git@github.com:remijouannet/packer-osc-plugins

Enter the provider directory and build the provider

$ cd $GOPATH/src/github.com/remijouannet/packer-osc-plugins
$ make build

Build with docker

build the binaries, you'll find all the binaries in bin/

$ make docker-bin

Directories

Path Synopsis
builder
osc/chroot
The chroot package is able to create an Amazon AMI without requiring the launch of a new instance for every build.
The chroot package is able to create an Amazon AMI without requiring the launch of a new instance for every build.
osc/ebs
The amazonebs package contains a packer.Builder implementation that builds AMIs for Amazon EC2.
The amazonebs package contains a packer.Builder implementation that builds AMIs for Amazon EC2.
osc/ebssurrogate
The ebssurrogate package contains a packer.Builder implementation that builds a new EBS-backed AMI using an ephemeral instance.
The ebssurrogate package contains a packer.Builder implementation that builds a new EBS-backed AMI using an ephemeral instance.
osc/ebsvolume
The ebsvolume package contains a packer.Builder implementation that builds EBS volumes for Amazon EC2 using an ephemeral instance,
The ebsvolume package contains a packer.Builder implementation that builds EBS volumes for Amazon EC2 using an ephemeral instance,
osc/instance
The instance package contains a packer.Builder implementation that builds AMIs for Amazon EC2 backed by instance storage, as opposed to EBS storage.
The instance package contains a packer.Builder implementation that builds AMIs for Amazon EC2 backed by instance storage, as opposed to EBS storage.
plugin
builder-osc-ebs command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL