You "have" to run amazon-chroot builder as root.
--
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/4c37b2e7-3bbb-4782-96a3-73e71de171f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
chroot_builder: Error finding available device: available device could not be found
Also, it would be helpful, if anyone can explain why chroot builder requires root privileges, but not other builds, i.e., ebs or ami based builds. Also, is there any way to circumvent the usage of root privileges, as we aren't looking to provide our builds with root privileges from the host system.
Thanks,
Jitendra Drona.
This is an advanced builder If you're just getting started with Packer, we recommend starting with the amazon-ebs builder, which is much easier to use.