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/12 12:22:38 UTC

[incubator-datalab] branch DATALAB-2091 updated: [DATALAB-2091]: added additional fabric command for testing

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 1cd7156  [DATALAB-2091]: added additional fabric command for testing
1cd7156 is described below

commit 1cd71564335735e51fcff1862d4e1b0fbc600e46
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Fri Feb 12 14:22:27 2021 +0200

    [DATALAB-2091]: added additional fabric command for testing
---
 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 066d0de..0b7058e 100644
--- a/infrastructure-provisioning/src/base/scripts/create_ssh_user.py
+++ b/infrastructure-provisioning/src/base/scripts/create_ssh_user.py
@@ -74,7 +74,7 @@ def init_datalab_connection(hostname, username, keyfile):
 if __name__ == "__main__":
     print("Configure connections")
     init_datalab_connection(args.hostname, args.initial_user, args.keyfile)
-
+    conn.run('pwd; hostname; ls -lah')
     print("Creating ssh user: {}".format(args.os_user))
     try:
         ensure_ssh_user(args.initial_user, args.os_user, args.sudo_group)


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