Skip to content

snassar/mirror-hcloud-resources-debian-packer-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

debian packer template for Hetzner Cloud

This repo is used to build debian images (as snapshots) for use with Hetzner Cloud by means of HashiCorp's Packer.

Building Images using this Repo

Please ensure that you have done the following:

  • installed packer on your development machine
  • set the hcloud_token and ssh_keys using a <filename>.auto.pkrvars.hcl file

Internals

The resulting images are intended to support a Terraform-based (or custom) workflow that feels close to the one of native Hetzner VMs.

In particular, support for the following features available on standard Hetzner VMs is desired:

  • dynamic hostname
  • dynamic root ssh keys
  • free-form cloud-init userdata
  • full IPv6/IPv4 support
  • Hetzner Cloud Networks
  • Hetzner Cloud Volumes

License

You can redistribute and/or modify these files unter the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the LICENSE file for details.