hashicorp / setup-packer

Run HashiCorp Packer as part of your GitHub Actions Workflow
https://github.com/marketplace/actions/setup-hashicorp-packer
Apache License 2.0
144 stars 83 forks source link

Add support for CD ISO creation #54

Closed duviful closed 1 year ago

duviful commented 2 years ago

Expected Behavior

vSphere builder attaches the downloaded ISO to Artifact

Current Behavior

==> vsphere-iso.focal: https://releases.ubuntu.com/focal/ubuntu-20.04.4-live-server-amd64.iso?checksum=sha256%3A28ccdb56450e643bad03bb7bcf7507ce3d8d90e8bf09e38f6bd9ac298a98eaad => /github/home/.cache/packer/47de2d7266acde194681de2a24f5d76b43b452ca.iso ==> vsphere-iso.focal: Creating CD disk... 2022/08/25 10:00:43 packer-plugin-vsphere_v1.0.8_x5.0_linux_amd64 plugin: 2022/08/25 10:00:43 Leaving retrieve loop for ISO ==> vsphere-iso.focal: could not find a supported CD ISO creation command (the supported commands are: xorriso, mkisofs, hdiutil, oscdimg) ==> vsphere-iso.focal: Step "StepCreateCD" failed, aborting...


Adding to the Dockerfile a line like RUN apk add mkisofs could grant support for this scenario in the Action.

ksatirli commented 1 year ago

Hey @duviful,

In the older version of this Action (available via master, saving output was indeed not easily possible, because we didn't provide this option to users.

In the new version, available via main, we now support the standard GitHub Actions flow, which allows you to install custom applications (such as mkisofs).

I'll close this issue as it is no longer applicable.