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/15 14:23:43 UTC
[incubator-datalab] 02/02: [DATALAB-2091]: added conn variable
assignment
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
commit fc92e438d8e8a1fcdb4bbd372601c578a0357d72
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Mon Feb 15 16:23:27 2021 +0200
[DATALAB-2091]: added conn variable assignment
---
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 f8f4b20..a2cf44f 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 @@ def ensure_ssh_user(initial_user, os_user, sudo_group, conn):
if __name__ == "__main__":
print("Configure connections")
- datalab.fab.init_datalab_connection(args.hostname, args.initial_user, args.keyfile)
+ conn = datalab.fab.init_datalab_connection(args.hostname, args.initial_user, args.keyfile)
print("Creating ssh user: {}".format(args.os_user))
try:
ensure_ssh_user(args.initial_user, args.os_user, args.sudo_group, conn)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org