Open kmctown opened 10 years ago
I have the same issue.
The culprit is here https://github.com/bevacqua/grunt-ec2/blob/master/tasks/ec2_create_keypair.js#L37
It calls ssh-keygen in child process. However, the stdin input (aka y/n you typed) is not passed in, so it hanges there.
A hacky workaround is to just comment this line when you need to use existing key value pair
Your library looks great -- trying to get it working in my production environment. I want to have multiple instances with the same name,
API
, for instance, because it seems from reading the docs that's the preferred method to utilizedeploy_many
. I'm running into the following issue:I would like to choose
n
so that it would use the existing key pair, assuming that was the intention. The script then hangs indefinitely.I might be doing something wrong but bringing it up here.