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 d5e6e97  pass fix
d5e6e97 is described below

commit d5e6e97fad58209ed1bab259d2158566f3975f86
Author: Oleksandr_Isniuk <i.oleksa...@gmail.com>
AuthorDate: Tue May 14 16:31:49 2019 +0300

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

diff --git a/infrastructure-provisioning/src/ssn/scripts/configure_docker.py 
b/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
index 18ac3d8..7176c8b 100644
--- a/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
+++ b/infrastructure-provisioning/src/ssn/scripts/configure_docker.py
@@ -126,8 +126,8 @@ def configure_guacamole():
         sudo('docker exec -i guac-mysql /bin/bash -c "cat 
/tmp/scripts/initdb.sql | mysql -u root -p{} guacamole"'\
              .format(mysql_pass))
         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")
+             " -e MYSQL_DATABASE='guacamole' -e MYSQL_USER='guacamole' -e 
MYSQL_PASSWORD='{}'"\
+             " -d -p 8080:8080 guacamole/guacamole".format(mysql_pass))
         #create cronjob for run containers on reboot
         sudo('mkdir /opt/dlab/cron')
         sudo('touch /opt/dlab/cron/mysql.sh')


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

Reply via email to