Permalink
Browse files

cluster_launch: correcting public_target to public_hostname

  • Loading branch information...
1 parent fa20b58 commit 3a033c68a9ee49c2453497f1b1dcc23c8751c1f7 @temujin9 temujin9 committed Jan 18, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/chef/knife/cluster_launch.rb
@@ -115,7 +115,7 @@ def perform_after_launch_tasks(computer)
# Try SSH
unless config[:dry_run]
Ironfan.step(computer.name, 'trying ssh', :white)
- address = computer.machine.vpc_id.nil? ? computer.machine.public_target : computer.machine.public_ip_address
+ address = computer.machine.vpc_id.nil? ? computer.machine.public_hostname : computer.machine.public_ip_address
nil until tcp_test_ssh(address){ sleep @initial_sleep_delay ||= 10 }
end

0 comments on commit 3a033c6

Please sign in to comment.