Building an ISO

Is there any way to programmatically build a normal Linux ISO? I want to be able to build an ISO to flash to a drive and install directly on some hardware.

Where you able to find solution? I guess I’m looking for the same approach.

Nope, it sounds like that isn’t something Packer does even though others have expressed interest in it.