This is an automated email from the ASF dual-hosted git repository. dmysakovets pushed a commit to branch DLAB-947 in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit 9e4099a092b18aa7a06b4165a5f96729a9b9baec Author: Dyoma33 <[email protected]> AuthorDate: Fri Sep 6 15:16:48 2019 +0300 [DLAB-947] Added gitlab support to ssh proxy config --- infrastructure-provisioning/src/general/lib/os/fab.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/infrastructure-provisioning/src/general/lib/os/fab.py b/infrastructure-provisioning/src/general/lib/os/fab.py index 8d6c4e2..a65cefa 100644 --- a/infrastructure-provisioning/src/general/lib/os/fab.py +++ b/infrastructure-provisioning/src/general/lib/os/fab.py @@ -434,6 +434,9 @@ def install_ungit(os_user, notebook_name, edge_ip): sudo( 'echo -e "Host github.com\n HostName github.com\n ProxyCommand nc -X connect -x {}:3128 %h %p" >> /home/{}/.ssh/config'.format( edge_ip, os_user)) + sudo( + 'echo -e "Host gitlab.com\n HostName gitlab.com\n ProxyCommand nc -X connect -x {}:3128 %h %p" >> /home/{}/.ssh/config'.format( + edge_ip, os_user)) sudo('systemctl daemon-reload') sudo('systemctl enable ungit.service') sudo('systemctl start ungit.service') --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
