Azure/custom-script-extension-linux

Run script as non-root user

krissura opened this issue · 1 comments

reopening due to the provided solution earlier #134 not working

Also unable to run scripts without sudo. This would be a very helpful feature to build into the extension.

Use case:
Azure DevOps Pipelines Agents install script requires non sudo.

Error:
Must not run with sudo\n\n[stderr]\n\"\r\n\r\nMore information on troubleshooting is available at https://aka.ms/VMExtensionCSELinuxTroubleshoot