Error: Could not initialize SDL(No available video device)ΒΆ

Possible solution by https://rubenerd.com/annexe-disable-qemu-sdl-in-packer/

Run it headless by adding this to the json file:

"headless": "true"