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("Node is initializing")
|
||||||
print("ip to connect to")
|
print("ip to connect to")
|
||||||
print("\nIP: %s" % (node.public_ips[0]))
|
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("ssh command:")
|
||||||
print("If you ever change the port adjust the command accordingly")
|
if args.deploy:
|
||||||
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("\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
|
return node
|
||||||
|
|
||||||
def list_all_nodes(provider, filterIn=None, awsRegion=None):
|
def list_all_nodes(provider, filterIn=None, awsRegion=None):
|
||||||
|
|||||||
Reference in New Issue
Block a user