Skip to content

image has incompatible architecture #105

@Knight1

Description

@Knight1
ERROR: Error creating machine: Error in driver during machine creation: could not create server: image has incompatible architecture (invalid_input)  driver=hetzner name=runner-XXXX-runner-XXX-XXX operation=create

Hetzner Cloud introduced arm64 Support. But sadly, when you specify type caxYY with image "ubuntu-20.04" it defaults to x86.
https://github.com/hetznercloud/cli/blob/main/internal/cmd/image/describe.go#L23

Currently you have to get the current Image ID from the hcloud cli with arch arm64 for the corresponding image ID to use arm64.

More like an FYI if someone has the same problem. Still might be a good thing to get the right image in the first place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions