zzdeploy 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/commands/add_instance.rb +1 -1
- data/lib/info.rb +1 -1
- metadata +2 -2
|
@@ -145,7 +145,7 @@ module Commands
|
|
|
145
145
|
break if result == 0
|
|
146
146
|
sleep(6)
|
|
147
147
|
tries += 1
|
|
148
|
-
if tries >=
|
|
148
|
+
if tries >= 30
|
|
149
149
|
# todo decide if we should terminate this instance
|
|
150
150
|
ec2.create_tags(inst_id, {:state => 'failed_boot' })
|
|
151
151
|
raise "Not able to establish ssh connection, make sure the security group has the ssh port open."
|
data/lib/info.rb
CHANGED