1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 03:08:14 +00:00

Increase sleep to work around Rackspace slowness

This commit is contained in:
Jerry Seutter 2014-09-22 09:10:30 -06:00
parent cf59240bef
commit 3b465890b6

View File

@ -101,8 +101,9 @@ def main():
startup_script) startup_script)
passwd = uuid.uuid4().hex passwd = uuid.uuid4().hex
instance.change_password(passwd) instance.change_password(passwd)
# wait for the password change to be processed # wait for the password change to be processed. Continuing while
sleep(POLL_SEC) # a password change is processing will cause image creation to fail.
sleep(POLL_SEC*6)
env.host_string = str(instance.accessIPv4) env.host_string = str(instance.accessIPv4)
env.user = "root" env.user = "root"