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 095b7f8  [odahu-integration] Added test print functions
095b7f8 is described below

commit 095b7f8a1a5ce4296fdd90ba8ee8ee746d900b75
Author: Demyan Mysakovets <[email protected]>
AuthorDate: Thu Jan 30 15:41:19 2020 +0200

    [odahu-integration] Added test print functions
---
 infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py 
b/infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py
index bd5f811..417c452 100644
--- a/infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py
+++ b/infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py
@@ -149,10 +149,10 @@ def docker_build_script():
 
 def prepare_odahu_image(ssn_nexus_url, dlab_path):
     try:
-        put('/root/templates/daemon.json', 'daemon.json')
+        put('/root/templates/daemon.json', '/etc/docker/daemon.json', 
use_sudo=True)
         print('daemon.json was placed')
-        sudo('mv daemon.json /etc/docker/daemon.json')
-        print ('daemon.json was moved')
+        # 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]

Reply via email to