oliverlloyd / jmeter-ec2

Automates running Apache JMeter on Amazon EC2
GNU General Public License v3.0
464 stars 186 forks source link

Minor: key pairs with spaces make call to ec2-run-instances wait for stdin #19

Closed jandom closed 10 years ago

jandom commented 10 years ago

Hi,

Using keypairs with spaces in their name makes the jmeter-ec2.sh hang on the ec2-run-instances call, with a message "waiting for stdin".

I tried a number of escaping/quoting hacks ("${AMAZON_KEYPAIR_NAME}", \"${AMAZON_KEYPAIR_NAME}\" etc) and they worked fine in bash but I unable to get them to work inside the script.

When I generated a new keypair without spaces in the name it worked like a charm.

Thanks,

oliverlloyd commented 10 years ago

Hi Jan, As per the commit above, https://github.com/oliverlloyd/jmeter-ec2/commit/5f10de0c86efe629bac65a83430b338381224d2f, could you retry?

Thanks

jandom commented 10 years ago

Many thanks, that solved it for me

oliverlloyd commented 10 years ago

Glad to hear it.