You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should prevent the build randomly failing when Hetzner deprecates
an image. As it turns out, Packer will crash when the image cannot be
found. (see hetznercloud/packer-plugin-hcloud#222)
Signed-off-by: Manuel Hutter <manuel@hutter.io>
Overview of the Issue
When the base image for sources cannot be found, Packer crashes with SIGSEGV instead of a usable error message.
Reproduction Steps
Given this template, Packer will crash on build:
Note that the
fedora-38
image does not exist anymore.Plugin and Packer version
Packer v1.11.2
v1.5.4 of this plugin
Simplified Packer Buildfile
https://github.com/mhutter/hcloud-packer-coreos/blob/60deb2515edd6f71679c2b9ab295beba1aede9b7/template.pkr.hcl
Operating system and Environment details
Linux, x64
Log Fragments and crash.log files
See https://github.com/mhutter/hcloud-packer-coreos/actions/runs/10372210073/job/28714404526
The text was updated successfully, but these errors were encountered: