Open mitchellh opened 9 years ago
Ahh, my thoughts are that this is awesome and would love to make that happen! I suppose my first question is how can we help?
Have you had a chance to look through the code and see how that might be achieved? Bringing this into Packer would have some obvious upshots in terms of removing duplication and so on and was always the ultimate intention as it would put this capability in front of more people.
P.S. Sorry to hear about your weekend ;)
@mitchellh there's a branch on my fork (no PR yet) which already did the work to convert this to aws-sdk-go, and another couple of bits (e.g. generating out user data to enable secure WinRM with a known certificate) - that may be a good place to start. It needs some clean up work to bring it in line with master here though, but likely quicker than converting from scratch.
(also - good to finally meet you at QCon the other day!)
@jen20 Thanks i'll take a look. Also thanks for your blog post bringing this all together. I used that as a blueprint while working on this stuff. :)
Done, PR here: https://github.com/mitchellh/packer/pull/2243
:+1: this will make it way easier for people to use!
James
So basically @mitchellh, i think its only fair we come clean about some issues that you've inherited (thanks!) to make sense of things. There are really only 2 main ones at the moment:
restart-windows
provisioner, and will need to be implemented in the plugins here and ported to your PR (or vice versa).winrmcp
project so shouldn't impact your PR.I'm working on tidying up the others so we have a clean backyard.
As a general note, the current thinking is that we'll support the plugins here if only until the dust settles, and then look to sunset any plugins/functionality moved into Packer itself once it's made publicly available.
Unfortunately, to set expectations the timing is not great on a personal level - from the end of next week I'm off to US + Canada for 5 weeks (sing out if you're up for :beers:) and have very little time to dedicate to this. I'll do what I can though!
@mefellows We fixed #54 in a follow-up PR by changing the command that is used. It is slightly less robust but happens to work. You can check it out on Packer master.
Thanks @mitchellh, just looking at it now to see if I can find a more permanent one - it is after midnight though so... :/
Hello!
First, thank you so much for maintaining this repository. I can tell from Google searches that it has helped a great many people and I'm incredibly appreciative.
Just tonight I got WinRM into Packer (thanks to contributions from sneal, masterzen, and others), and I also just opened a PR to support Windows AWS instances as well. IT IS THE WEEKEND OF WINDOWS!
I'd like to also bring in all of these provisioners here. Thoughts?