--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/e13f79fa-dfe8-4de0-97c2-ed11ce6eb301%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
It might be possible to attach the ISO as a device with qemuargs 1) similar things whould be possible with most other local builders. Another option is to just use the file provisioner and upload the iso to the VM and loopback mount it.
On 19 April 2018 at 22:56, Julio Lajara <ju...@tvisioninsights.com> wrote:
Hi all, is it possible to run a Packer build with both an existing base image disk (qcow2) and an ISO? It seems from reading the builder documentation, most of them only support one or the other but not both.My use case is that I want to do a two phase Packer build. On the first phase, build out my disk image and generate a qcow2 disk image. On the second phase, use the disk from the first phase, a Clonezilla ISO to boot from, and the qemu args to mount a folder into the guest and get Clonezilla to generate backup.Basically I need to get from qcow2 to Clonezilla format to distribute elsewhere. I had thought about using a post-process on the first phase (if I used raw instead of qcow2) to then mount loop backs to the individual partitions and dump them using the same tools that Clonezilla does but its not clear which files Clonezilla creates that it actually needs during a restore and which are just informational metadata.Any thoughts or alternatives would be appreciated.Thanks,
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.