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