mirror of
https://github.com/hashicorp/packer.git
synced 2026-03-13 14:12:08 -04:00
In the "Execute Command Example - Sudo Example", the used command is defining environment variables prematurely, hence requiring the sudo invocation to be made with the `-E` flag. However, this is not only necessary but might have indesirable side effects, as the `-E` flag forwards the whole environment to the subshell.
9.3 KiB
9.3 KiB