This is an automated email from the ASF dual-hosted git repository.
dmysakovets pushed a commit to branch odahu-integration
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/odahu-integration by this push:
new 256b5dc [odahu-integration] Added test print functions
256b5dc is described below
commit 256b5dc32242824b01539bf04218ce28dc61be1a
Author: Demyan Mysakovets <[email protected]>
AuthorDate: Thu Jan 30 12:24:53 2020 +0200
[odahu-integration] Added test print functions
---
infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py
b/infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py
index 53dcec4..bd5f811 100644
--- a/infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py
+++ b/infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py
@@ -149,8 +149,10 @@ def docker_build_script():
def prepare_odahu_image(ssn_nexus_url, dlab_path):
try:
- put('/root/templates/daemon.json', '/etc/docker/daemon.json')
+ put('/root/templates/daemon.json', 'daemon.json')
print('daemon.json was placed')
+ sudo('mv daemon.json /etc/docker/daemon.json')
+ print ('daemon.json was moved')
sudo("sed -i \'s|<NEXUS_URL>|{}|g\'
/etc/docker/daemon.json".format(os.environ['ssn_nexus_url']))
print('nexus url was filled in')
sudo('systemctl restart docker')
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]