You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2021/02/09 12:47:35 UTC

[incubator-datalab] branch DATALAB-2091 updated: [DATALAB-2091]: changed connection key

This is an automated email from the ASF dual-hosted git repository.

lfrolov pushed a commit to branch DATALAB-2091
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to refs/heads/DATALAB-2091 by this push:
     new 32ac9c8  [DATALAB-2091]: changed connection key
32ac9c8 is described below

commit 32ac9c8a04ab88f9bfa7fcc8532ee2352651eb86
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Tue Feb 9 14:47:22 2021 +0200

    [DATALAB-2091]: changed connection key
---
 infrastructure-provisioning/src/base/scripts/create_ssh_user.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/infrastructure-provisioning/src/base/scripts/create_ssh_user.py b/infrastructure-provisioning/src/base/scripts/create_ssh_user.py
index 62def38..aa50968 100644
--- a/infrastructure-provisioning/src/base/scripts/create_ssh_user.py
+++ b/infrastructure-provisioning/src/base/scripts/create_ssh_user.py
@@ -55,7 +55,7 @@ if __name__ == "__main__":
     print('-------------'+args.keyfile)
     key = RSA.importKey(open(args.keyfile, 'rb').read())
     print('-------------'+str(key))
-    datalab.fab.init_datalab_connection(args.hostname, args.initial_user, args.keyfile)
+    datalab.fab.init_datalab_connection(args.hostname, args.initial_user, key)
 
     print("Creating ssh user: {}".format(args.os_user))
     try:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org