This is an automated email from the ASF dual-hosted git repository.

ioleksandr pushed a commit to branch DLAB-3
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/DLAB-3 by this push:
     new 0496b4c  Update configure_docker.py
0496b4c is described below

commit 0496b4c9a8ef7530cc00b1b087f6a17c0d4dfaf4
Author: i.oleksandr <i.oleksa...@gmail.com>
AuthorDate: Tue May 14 12:50:13 2019 +0300

    Update configure_docker.py
---
 infrastructure-provisioning/src/ssn/scripts/configure_docker.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/infrastructure-provisioning/src/ssn/scripts/configure_docker.py 
b/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
index e61fb2c..aee1698 100644
--- a/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
+++ b/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
@@ -123,6 +123,8 @@ def configure_guacamole():
         sudo("docker run --name guacamole --restart unless-stopped --link 
guacd:guacd --link guac-mysql:mysql -e MYSQL_DATABASE='guacamole' -e 
MYSQL_USER='guacamole' -e MYSQL_PASSWORD='guacamole' -d -p 8080:8080 
guacamole/guacamole")
         #create cronjob for run containers on reboot
         sudo('mkdir /opt/dlab/cron')
+        sudo('ls -dl /root/*/')
+        sudo('ls -la /root/templates/')
         put('/root/templates/mysql.sh /opt/dlab/cron/mysql.sh')
         sudo('chmod 755 /opt/dlab/cron/mysql.sh')
         sudo('sed -i "s|MYSQL_GENERATED_PASS|{}| 
/opt/dlab/cron/mysql.sh"'.format(mysql_pass))


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org
For additional commands, e-mail: commits-h...@dlab.apache.org

Reply via email to