From 0f003a879141b576fc4cf87a64d758677e1f340c Mon Sep 17 00:00:00 2001 From: konsthol Date: Sat, 11 Mar 2023 20:37:35 +0200 Subject: [PATCH] Shovelling coal into the server... --- secdep.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/secdep.py b/secdep.py index d3109e7..32c4b88 100755 --- a/secdep.py +++ b/secdep.py @@ -997,19 +997,15 @@ def create_node(provider, name=None, location=None, size=None, image=None, confi step_2 = ScriptDeployment(SCRIPT) msd = MultiStepDeployment([step_1, step_2]) node = driver.deploy_node(name=name, image=image, size=size, deploy=msd, ssh_key=SECDEP_SSH_PRIVATE_KEY) - print('stdout: %s' % (step_1.stdout)) - print('stderr: %s' % (step_1.stderr)) - print('exit_code: %s' % (step_1.exit_status)) print('stdout: %s' % (step_2.stdout)) print('stderr: %s' % (step_2.stderr)) print('exit_code: %s' % (step_2.exit_status)) print(node.name + " created successfully") print("Node is initializing") - time.sleep(30) + time.sleep(30) #Aws takes a while to assign a public ip print("ip to connect to") print("\nIP: %s\n" % (node.public_ips)) return node -## aws node does not return ip def list_all_nodes(filterOut=None): print("Getting all nodes...")