-
Notifications
You must be signed in to change notification settings - Fork 74
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
Windows Proxy #63
Windows Proxy #63
Conversation
…ssed on to Windows hosts as proxies
…ssed on to Windows hosts as proxies
Hi James, This looks totally awesome, thanks! I was thinking if instead of adding a new config, we could just use Even better would be to move configuration logic from the action class into capabilities and use |
@lawsonj2019 Nice job! I second using |
The |
That is we merge this and refactor along with adding support to get us around the bug presented in #58. Still early here and not enough coffee :D. |
I'm fine using a separate action for now, but would really like to avoid the extra config class. We already have quite a few... I have many things and refactoring planned, but been way too busy at work lately. Hope to allocate some love for this project in a couple of weeks. So if @lawsonj2019 can change the code to use |
I refactored the code to use the |
@lawsonj2019 thanks! I'll take a closer look on weekend. It seems that in the first refactoring you renamed the capability to But I'll test and review later. Thanks again! |
Squashed and merged! I don't have time to set up a Windows guest right now, but looks good to me. Btw, could we also add support for npm, git, etc. too? Would the commands work as is? |
Support for git, npm, etc.should be mostly fine with the addition of the environment variables. I think they both honour the environment variables. If not the same principles as the changes in the Getting the git/npm executable path as part of the capability would need to be looked at, as this would be different on Windows - the |
IIRC the vagrant-windows plugin modifies Needs more investocation. Would you happen to know any trusted Packer templates to build a Windows box, preferably for VMware? |
Not on the VMWare front. We're looking at packer templates right now for Windows, so if we come up with anything relevant I will let you know. |
I've added the capability for Windows Guests to have their http_proxy, https_proxy, ftp_proxy, and no_proxy environment variables set via this plugin and the use of explicit config.win_proxy Vagrantfile entries, or through the use of the VAGRANT_WIN_HTTP_PROXY style environment variables.