not clear what you want to do post-processor run after the VM has been created if you want to run a command on the guest then you need to use a shell provisioner
can you explain whats the host os whats the guest os and what you want to see and how you want to capture ? assuming you are running centos, you want say rpm -qa to list all packages? if yes you could generate a file with the packages output, then download to the host if could confirm On Tue, Mar 20, 2018 at 8:25 PM, vipin tiwari <[email protected]> wrote: > Hi guys, How can i list installed packages on packer build. I'm using > post-processors section with the inline shell to list all software but > giving local installed software. > > Thanks for the help > > -- > 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/6e40fe0a-4828-4658-9022-27d73a6e89b2%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/6e40fe0a-4828-4658-9022-27d73a6e89b2%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Alvaro -- 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/CAHqq0exc2u0y%2BSbAQY%2BSTaL5gZF9%3DSJwgXBPvVKkwtwOjj6hjA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
