Just a quick update on this one - I ended up writing a short PowerShell 
script to download the cookbooks directly from the Chef Marketplace and 
extract them on the target VM.  This is working OK and I can bypass the 
cookbook upload, but it's not ideal as it precludes using Berkshelf to 
determine cookbook dependencies.

On Tuesday, September 20, 2016 at 1:26:00 PM UTC+10, James Bannan wrote:
>
> Hi Sean,
>
> Sure, the template is this one, authored by Matt Wrock:
>
> https://github.com/mwrock/packer-templates/blob/master/vbox-2016.json
>
> Based on some additional research, it looks like this is a long-standing 
> issue with the performance of the WinRM transport in Packer.  However, I'm 
> only trying to upload about 500KB to the VM.  30 minutes to upload seems 
> excessive...
>
> Thanks,
> James
>
> On Tuesday, September 20, 2016 at 1:22:39 PM UTC+10, Sean Farrow wrote:
>>
>> Hi James,
>>
>>  
>>
>> What template are you using, is it possible to provide a link?
>>
>> Cheers
>>
>> Sean.
>>
>>  
>>
>> *From:* packe...@googlegroups.com [mailto:packe...@googlegroups.com] *On 
>> Behalf Of *James Bannan
>> *Sent:* 20 September 2016 02:21
>> *To:* Packer <packe...@googlegroups.com>
>> *Subject:* [packer] Chef-solo provisioner very slow to upload cookbooks
>>
>>  
>>
>> Hi all,
>>
>>  
>>
>> I'm using Packer 0.10.1 on Windows 10 to build a Windows 10 image on 
>> VirtualBox.
>>
>>  
>>
>> The template uses the chef-solo provisioner, and i'm seeing that the 
>> upload of the cookbooks is extremely slow. Slow, as in, about 30 minutes to 
>> upload 4 cookbooks. 
>>
>>  
>>
>> It always works and never errors, but the process is extremely slow and 
>> painful. Any way of troubleshooting what's happening and hopefully fixing 
>> it?
>>
>>  
>>
>> -- 
>> This mailing list is governed under the HashiCorp Community Guidelines - 
>> https://www.hashicorp.com/community-guidelines.html. Behavior in 
>> violation of those guidelines may result in your removal from this mailing 
>> list.
>>  
>> GitHub Issues: https://github.com/mitchellh/packer/issues
>> IRC: #packer-tool on Freenode
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Packer" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to packer-tool...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/packer-tool/6d4548b5-c250-46c7-afff-b79912f49c4b%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/packer-tool/6d4548b5-c250-46c7-afff-b79912f49c4b%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to packer-tool+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/7f981c12-a1c4-4ac9-b493-371fbf369444%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to