-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EC2 Windows doesn't seem to work #6
Comments
You have to use my driver
|
Yes, my Gemfile does include those lines however the readme mentions kitchen-ec2 v0.9.0 which I had to choose branch WinRM in order to get. I've tried switching back to the Transport branch but no luck. If I use the .kitchen.yml.ec2 config file as is, I get:
So I've been adding a key pair to the config with aws_ssh_key_id and ssh_key lines. Maybe these lines override the transport option? |
I have to change that attribute to be not required when you use the winrm transport ...! For now you have to set it :( sorry about that.. But that will not change the behavior of the transport abstraction. You should test it and let me know your findings.. |
Yeah, in my original post I added the ssh attributes. I've been manually adding the gems via gem install. I just tried a bundle install with the provided Gemfile and I get the same thing (after adding the ssh attributes):
|
Finally got it to work! I was looking for the code that references the guest: attribute and realized it was in the test-kitchen repo and not kitchen-ec2. So I changed to the WinRM branch instead of the Transport branch of kitchen-ec2 and now EC2 works. Any plans to merge the changes into the Transport branch? How about Matt Wrock's file transfer optimizations https://github.com/mwrock/test-kitchen/tree/one_session ? |
Hi @afiune,
I can't seem to get ec2 working. I've used the following .kitchen.yml:
But kitchen-ec2 seems to try to connect via SSH instead of WinRM.
Your original AMI doesn't seem to be available anymore, is SSH preinstalled or is it a base image? I am using test-kitchen v1.3.0, kitchen-vagrant v0.16.0, and kitchen-ec2 v0.9.0.
The text was updated successfully, but these errors were encountered: