Closed stanislavhordiyenko closed 8 years ago
I get bad results also trying to build the windows_81.json on atlas ==> virtualbox-iso: Typing the boot command... ==> virtualbox-iso: Waiting for WinRM to become available... ==> virtualbox-iso: Timeout waiting for WinRM. ==> virtualbox-iso: Unregistering and deleting virtual machine... ==> virtualbox-iso: Deleting output directory... Build 'virtualbox-iso' errored: Timeout waiting for WinRM.
anyone succesfully build windows on atlas? Thank you!
I too am stuck on getting it working with a proxy. Can't find any documentation on how to do that.
Same issue for me since months. I am trying all kind of variations with ports and what not but in vain. Any help would be appreciated.
I'm not familiar with Atlas, but Packer uses the http_proxy
environment variable if it exists. I wrote a small wrapper script in powershell to set that environment variable to my local cntlm proxy, and then call Packer.
It would be helpful to get some debug output from Packer. Something to note is that a lot of the provisioning scripts connect out to the internet to download bits.
If someone has time in the future to work this issue we can reopen then.
@sneal I have a script that will set the necessary proxy (system as well as local ENV:http_proxy etc) settings in Windows. Because I don't want to hardcode that, I could use some help from you or others here in passing variables through to the script. I'm happy to make a PR to iterate on.
@mynamewastaken This seems like it would potentially be valuable to others. I personally have no need for it now, but would accept a PR for it.
Hi all,
Spent two days making it works on my local machine but all in vain. I thought that this is because of corporate proxy and that is why configured Atlas account to build image there, however, it's not working as well.
I use the following modified code from windows_2012_r2.json packer file:
Could you please take a look and advise what is going here in a wrong way?
Are there any solutions here as well to utilize corporate proxy? What I noticed is that building locally there is no access to the Internet because of proxy. Are there any scripts to specify it in the build?
Thank you.