-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide ability to define dsc-v3 resource path (Support sxs installation) #133
Comments
One workaround for this (which I've used in the past) is to override the |
|
If GC-Agent is spawning |
Overwriting the system $env:path in the process may impact locating executable or other resource dependencies that are already under $env:path |
I agree with BerheAbrha. Resources called and the processes spawned calling those may depend on PATH being intact. We will need to support either specifying the search path(s) as an argument or support another ENV var that would be used if specified instead of PATH. (Think something similar to PSModulePath) |
We can have a |
Summary of the new feature / enhancement
dscv3 is relying on system variable ($env:path) for resource discovery. Provide an ability to specify the directory for all dscv3 resources.
- This will enable sxs installation possible. (GC-Agent supports this)
- DSC is slow locating resources since it is checking a big list of paths in $env:path.
Proposed technical implementation details (optional)
Pass optional DSC_Resouce_Path to DSC .
No response
The text was updated successfully, but these errors were encountered: