With August updates, we added support for environment variables in Linux scale set agents. Now you can change the working directory of a Linux agent to use a faster drive than the OS drive. In addition, you can set a proxy to be used by the agent.
Source: Azure Roadmap