Commit e4ae7e34 authored by Alain Takoudjou's avatar Alain Takoudjou

Wait for a few seconds before configuring openstask

parent 201b3d8b
...@@ -76,6 +76,8 @@ if __name__ == '__main__': ...@@ -76,6 +76,8 @@ if __name__ == '__main__':
client = getClient() client = getClient()
time.sleep(5) time.sleep(5)
try: try:
#Try to run openstack command before all other system process are started
time.sleep(30)
#Write file configure.sh to use. #Write file configure.sh to use.
sftp = client.open_sftp() sftp = client.open_sftp()
result = sftp.put(nova_configure, 'configure.sh' ) result = sftp.put(nova_configure, 'configure.sh' )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment