Remove TODO

This commit is contained in:
Yue Zhang
2014-08-04 15:05:28 +08:00
parent 36b66fb6a2
commit dc18ecc94c
+1 -3
View File
@@ -1190,10 +1190,8 @@ class UbuntuDistro(debianDistro):
def waitForSshHostKey(self, path):
"""
Wait until the ssh host key is generated by cloud init.
TODO: tuning the waiting interval to a reasonable value
"""
for retry in range(0, 300):
Log("TODO: REMOVE THIS LINE - Check host key status")
for retry in range(0, 10):
if(os.path.isfile(path)):
return True
time.sleep(1)