The Wayback Machine - https://web.archive.org/web/20200909234336/https://github.com/m110/packer-builder-hcloud
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

README.md

DEPRECATED: see official builder here: https://www.packer.io/docs/builders/hetzner-cloud.html

packer-builder-hcloud

Packer builder plugin for Hetzner Cloud.

This plugin can be used to build provisioned images (snapshots) for Hetzner Cloud. Those can be later used for rapid deploying using Terraform (check the official plugin).

Building

You'll need dep to install dependencies.

Clone the repository and run:

dep ensure
go build -o ~/.packer.d/plugins/packer-builder-hcloud

Example template

{
  "builders": [
      {
          "type": "hcloud",
          "token": "API_TOKEN",
          "server_type": "cx11",
          "source_image": "ubuntu-16.04",
          "image_name": "some-image",
          "location": "fsn1",
          "datacenter": "fsn1-dc8",
          "user_data": "",
          "ssh_username": "root"
      }
  ]
}

See https://github.com/m110/infrastructure-as-code for more complete example.

You can find server types and soure images querying the API.

Known issues

  • For some reason, ansible-remote provider works only with paramiko connection.

About

Packer builder plugin for Hetzner Cloud - https://hetzner.cloud

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.