packer-alpine-hetzner
Packer build scripts for creating cloud-init ready Alpine Linux templates on Hetzner cloud.
Usage
You will need a Hetzner cloud API token (Hetzner has some docs). Set the HCLOUD_TOKEN environment variable to your token before running packer:
$ export HCLOUD_TOKEN="xxx"
$ packer build .
After the build runs successfully, there will be a new Alpine Linux snapshot (the default name is alpine-linux-XX.YY.ZZ, based on the version of Alpine Linux which was used to create the snapshot). This snapshot can be used to create a new server and configured via cloud-init during the creation process.
Configuration
See variables.pkr.hcl for some configuration options.
Description
Languages
HCL
78.8%
Shell
21.2%