Fixes issue when bootstrapping windows systems failing with the message: The input line is too long..
This is triggered by a "very" long %PATH% environment variable getting expanded at execution and causing the command being execute to become longer than the allowed size.
We only need enough of the path set to be to run chef-client and doesn't persist to the system.
Fixes issue when bootstrapping windows systems failing with the message:
The input line is too long.
.This is triggered by a "very" long
%PATH%
environment variable getting expanded at execution and causing the command being execute to become longer than the allowed size.We only need enough of the path set to be to run chef-client and doesn't persist to the system.
Signed-off-by: Will Fisher wfisher@chef.io