1. Pior Bastida
  2. awstools

Commits

Pior Bastida  committed 3c77ca7

fixed reference in instance loop in ec2ssh

  • Participants
  • Parent commits b4fa713
  • Branches default

Comments (0)

Files changed (1)

File scripts/ec2ssh

View file
  • Ignore whitespace
                         instance.private_ip_address,
                         )
 
-                host = instances[0].public_dns_name
+                host = instance.public_dns_name
                 subprocess.call(['ssh', host] + args.command)
 
         if args.verbose: