Add explicit example of command with env vars
What does this MR do and why?
It was pointed out in https://gitlab.com/gitlab-com/gl-infra/production/-/issues/5519#note_678393245 that sudo
rejects existing env vars without the -E
flag, so adding a small note and example here to recommend appending them.
A small little note, but since the collective lot of us with combined decades of sudo
experience didn't notice it, maybe it's good to highlight.
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Kerri Miller