if you want to be able to run scripts as root silently you need to update
the template

check your OS manuals for password less sudo

On Tue, Jan 16, 2018 at 9:15 PM, Kevin Milner <[email protected]>
wrote:

> It does, although it prompts me for a sudo password, as one would expect.
>
> On Tuesday, January 16, 2018 at 2:26:11 PM UTC-5, Alvaro Miranda Aguilera
> wrote:
>>
>> on the template you are using does this work?
>>
>> sudo id
>>
>>
>> --
> 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/0aa30677-e292-4df2-8400-6c5d7e5c05b1%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/0aa30677-e292-4df2-8400-6c5d7e5c05b1%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/CAHqq0eyG%3DqsXVNCfkeVVwkcaqRi6L%2BJqnUQt7uhZ8bTvW%2BOv_Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to