[cs615asa] HW3 Getting the hostname

Jan Schaumann jschauma at stevens.edu
Sat Mar 3 15:34:33 EST 2012


Tejas <tnadkarn at stevens.edu> wrote:
> I noticed that if my environment variable for run instances is =-k  
> ec2key when it's read and used in my Python app, it adds an additional  
> leading space so it is seen as -k  ec2key which throws an error on EC2  
> since it's looking for ' ec2key' not 'ec2key'. I was able to workaround  
> this by setting the environment variable = -kec2key and that actually  
> works perfectly.

That'd be a bug in how you handle the environment variables.  Hard to
say what's wrong without seeing any code.

-Jan


More information about the cs615asa mailing list