Pick the official CentOS AMI as your source_ami and create a shell provisioner script that installs Tomcat and Java as you normally would install these.
If you have problems when you tried post your template and scripts here and we can have a look. On Sat, Jan 26, 2019, 14:05 chaitanya p <[email protected] wrote: > how to create ami with tomcat in cenos using packer > > -- > 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/128e0357-e31d-4866-ba6e-cd5a597d662a%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/128e0357-e31d-4866-ba6e-cd5a597d662a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CALz9Rt9dMFOw4Kw28p2fgjfjVBb8FeaN7FDX6ZYf4U%2B_eL4v%3Dw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
