You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by io...@apache.org on 2019/05/14 13:31:43 UTC
[incubator-dlab] branch DLAB-3 updated: pass fix
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....@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-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org