Try to use container image from DockerHub
This commit is contained in:
Родитель
2872f6ac3f
Коммит
625b2ad51f
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
docker exec -i devstack /bin/bash -s <<EOF
|
docker exec -i devstack /bin/bash -s <<EOF
|
||||||
# Ensure that MySql is running. Fixes error "Can't connect to MYSQL server on '127.0.0.1' (111)"
|
# Ensure that MySql is running. Fixes error "Can't connect to MYSQL server on '127.0.0.1' (111)"
|
||||||
systemctl start mysql.service
|
UP=$(/etc/init.d/mysql status | grep running | grep -v not | wc -l);
|
||||||
|
if [ "$UP" -ne 1 ]; then "Starting MySQL..."; service mysql start; fi
|
||||||
sudo su edxapp
|
sudo su edxapp
|
||||||
cd /edx/app/edxapp
|
cd /edx/app/edxapp
|
||||||
rm -r -d -f themes
|
rm -r -d -f themes
|
||||||
|
|
Загрузка…
Ссылка в новой задаче