Try to use container image from DockerHub

This commit is contained in:
Brian Telnes 2017-06-30 11:37:19 -07:00
Родитель a24bc4afbf
Коммит 18c77e9e05
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -3,7 +3,7 @@
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)"
UP=$(/etc/init.d/mysql status | grep running | grep -v not | wc -l);
if [[ "$UP" -ne "1" ]]; then echo "Starting MySQL..."; systemctl start mysql.service; 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