boxcutter / windows

Virtual machine templates for Windows written in legacy JSON and Batch Scripting/JScript
Apache License 2.0
756 stars 264 forks source link

Proxy support #124

Open 2xyo opened 7 years ago

2xyo commented 7 years ago

As the presence of an HTTP proxy is common in a company, could you please provide proxy support ?

I quickly tested the following configuration in Autounattend.xml (eval-win7x64-enterprise) but it failed:

    <settings pass="oobeSystem">
        <component name="Microsoft-Windows-IE-ClientNetworkProtocolImplementation" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
          <POLICYProxySettingsPerUser>0</POLICYProxySettingsPerUser>
          <HKLMProxyEnable>true</HKLMProxyEnable>
          <HKLMProxyServer>192.168.0.1:3128</HKLMProxyServer>
        </component>
...

Error :

Note: The proxy doesn't need user/pass.

Doc: https://technet.microsoft.com/en-us/library/cc748894(WS.10).aspx

Thanks!

2xyo commented 7 years ago

Ahh.. I didn't saw the waiting PR #85 ..

arizvisa commented 4 years ago

Hey 2xyo, you still interested in Proxy support?

I have a few things I want to improve wrt relocating templates (since I'm not married to GNU Make or anything), but daxgames linked to a good base and so it seems like a good first feature to add especially since you've been waiting for like what...3 years?

2xyo commented 4 years ago

Yes please!

arizvisa commented 4 years ago

Ok. I'll start working on how to figure out an elegant way to accomplish that. I'll update this with a PR that I'm working on when I make progress. Thanks.