with open(dest, 'wb') as f:
shutil.copyfileobj(response, f)
- return file_name
+ return dest
def rubbos_stack_satisfy(name="bottlenecks_rubbos_stack", status="CREATE_COMPLETE"):
print "Cannot create instances, as Failed to create image(s)."
exit (-1)
- print "Wait 300 seconds after stack creation..."
- time.sleep(300)
+ print "Wait 600 seconds after stack creation..."
+ time.sleep(600)
#reboot_instances()
#time.sleep(180)