fixed mysql auth issues
This commit is contained in:
parent
1e971b70f5
commit
a1f2738dc8
1 changed files with 2 additions and 2 deletions
|
@ -22,6 +22,6 @@ pip install -r scripts/requirements.txt
|
||||||
|
|
||||||
echo "PATH=$PATH:/vagrant" >> /etc/profile
|
echo "PATH=$PATH:/vagrant" >> /etc/profile
|
||||||
cp /vagrant/ctf.nginx /etc/nginx/sites-enabled/ctf
|
cp /vagrant/ctf.nginx /etc/nginx/sites-enabled/ctf
|
||||||
rm /etc/nginx/sites-enabled/default
|
rm /etc/nginx/sites-*/default
|
||||||
|
|
||||||
mysql -u root -p "$MYSQL_ROOT_PASSWORD" -e "CREATE DATABASE easyctf;"
|
echo "$MYSQL_ROOT_PASSWORD" | mysql -u root -p -e "CREATE DATABASE easyctf;"
|
Loading…
Reference in a new issue