Hi Steven. I'm very agree with you about chroot image creation. I'm looking for something similar to your idea. Did you advanced in any direction about this?
El martes, 6 de enero de 2015, 20:16:30 (UTC+1), Steven Schlansker escribió: > > Hello everyone, > > I've toyed with Packer a bit for building images, and am fairly > comfortable with the "grey-haired neck beard" traditional approach to > building images (via e.g. debootstrap[1] and chroot) and would appreciate > some input. > > Packer's approach to building seems overly complicated to me. It seems > like I can start with a pre-existing image or a debootstrap environment, > use a chroot to get inside of the image and run the Provisioners, and then > take the result and 'specialize' it in post-processing -- e.g. install AWS > tools and bundle as AMI, or install VirtualBox Guest Additions and package > as a VDI. The bulk of the provisioning work is shared and the > post-processors can run in parallel at the end. This ensures all of your > built images are nearly identical, saves on resources, and removes a lot of > the complexity of interacting with live VMs (be it AWS, VirtualBox, etc). > > As an example of all the things that can be totally eliminated: > * AWS key / security group management > * Wait loops for VMs to come up > * Running things through SSH > * All interaction with e.g. VirtualBox > > Has anyone considered adding such a builder to Packer? Is there some > reason this is not a good idea? I wish Packer was written in something > other than Go so I would feel confident to prototype it myself, but alas... > > [1] http://diogogomes.com/2012/07/13/debootstrap-kvm-image/ > > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/abf30ffd-3d09-4323-a214-77f784a326dd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
