this is why docs are important
This commit is contained in:
@@ -1217,10 +1217,11 @@ def create_node(provider, name=None, location=None, size=None, image=None, confi
|
||||
print("Node is initializing")
|
||||
print("ip to connect to")
|
||||
print("\nIP: %s" % (node.public_ips[0]))
|
||||
print("\nssh command: ssh -i %s secdep@%s\n" % (SECDEP_SSH_PRIVATE_KEY, node.public_ips[0]))
|
||||
print("If you ever change the port adjust the command accordingly")
|
||||
print("If you used the --deploy flag we changed the port to 22100 so the command is:")
|
||||
print("\nssh -p 22100 -i %s secdep@%s\n" % (SECDEP_SSH_PRIVATE_KEY, node.public_ips[0]))
|
||||
print("ssh command:")
|
||||
if args.deploy:
|
||||
print("\nssh -p 22100 -i %s secdep@%s\n" % (SECDEP_SSH_PRIVATE_KEY, node.public_ips[0]))
|
||||
else:
|
||||
print("\nssh -i %s secdep@%s\n" % (SECDEP_SSH_PRIVATE_KEY, node.public_ips[0]))
|
||||
return node
|
||||
|
||||
def list_all_nodes(provider, filterIn=None, awsRegion=None):
|
||||
|
||||
Reference in New Issue
Block a user