Re: [packer] Chef-solo provisioner very slow to upload cookbooks

2016-09-20 Thread James Bannan
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 determin

[packer] avoid windows %APPDATA% in packer post-process

2016-09-20 Thread Michael Cook
Hi, These days I treat my windows host as 'firmware' - and as a consequence I try to contain my windows C: drive as small as possible. The packer post-processor (this is for vagrant, probably same for others) seems to insist on using my %APPDATA%\... as a temporary holding location for interme

[packer] Re: avoid windows %APPDATA% in packer post-process

2016-09-20 Thread Michael Cook
I'm guessing these lines in post-processor.go tell me it's not going to be possible... // Create a temporary directory for us to build the contents of the box in dir, err := ioutil.TempDir("", "packer") the (brief) go doc indicates TempDirs are set for the os. -- This mailing list is governe