packer-bare-metal icon indicating copy to clipboard operation
packer-bare-metal copied to clipboard

Try to use squashfs

Open viralpoetry opened this issue 6 years ago • 2 comments

For more info, see: https://github.com/hashicorp/packer/issues/955#issuecomment-373506312

viralpoetry avatar Apr 20 '18 11:04 viralpoetry

@viralpoetry, I'm wondering where you ended up with this. Did you ever experiment with using squashfs in packer post-processor for creating a bootable .iso (originally proposed by @vtolstov in this thread)?

Might also refer you to my post on this referring to this repo.

In my case, I'm wanting to create isos from packer bc my team wants to be distributing machines as isos (where people may install on VM or bare metal) but in general at my company we now use packer/ansible to create (virtualbox, vagrant, docker) images, mostly for internal development environments, and I'm now looking to extend this approach to support the iso/bare metal use case as we are looking to expand into delivering environments as "product".

After re-researching this (again!), I think the squashfs approach originally proposed by @vtolstov is the way to go for linux-based images. Either way, would love to collaborate if you're still interested. Cheers.

timblaktu avatar Dec 01 '20 00:12 timblaktu

@timblaktu Hi, sorry for a late response. I never made it to experiment with the squashfs at all. I read references but my limited knowledge of compressed fs discouraged me to continue

viralpoetry avatar Dec 10 '20 11:12 viralpoetry