hello can you attach your packer template?
the code you share is not complete Alvaro On Fri, Jan 20, 2017 at 3:34 PM, Ankush Khare <[email protected]> wrote: > I am setting > "variables": { > > > > { > "type": "shell", > "execute_command": "echo '{{user `ssh_pass`}}' | {{.Vars}} sudo -S -E > bash '{{.Path}}'", > "environment_vars":[ > "USER_A={{user `m_u`}}", > "PASSWD_A={{user `m_p`}}" > ], > "scripts": [ "scripts/myscript.sh" ] > } > > -- > 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/86f46798-8224-4aaf-a83b-2d02d797e934%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/86f46798-8224-4aaf-a83b-2d02d797e934%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/CAHqq0ewE%3DRqOh9dkHiaKq68617dMVjY7Zo2VwWNisMHrO81rDw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
