|
|
@ -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"
|
|
|
|