correct script paths

This commit is contained in:
Andreas Zweili 2018-09-03 19:57:45 +02:00
parent 9a3ab8728b
commit 992ced99dd
1 changed files with 3 additions and 3 deletions

6
Vagrantfile vendored
View File

@ -33,7 +33,7 @@ Vagrant.configure("2") do |config|
sed -i "s/^bind-address/#bind-address/" /etc/mysql/my.cnf
mysql -u root -proot -e "GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION; FLUSH PRIVILEGES; SET GLOBAL max_connect_errors=10000;"
service mysql restart
mysql < /vagrant/create_mariadb_database.sql
mysql < /vagrant/mariadb_create_db.sql
adduser vagrant mysql
mkdir /home/vagrant/venv
@ -41,8 +41,8 @@ Vagrant.configure("2") do |config|
source /home/vagrant/venv/bin/activate
pip3 install wheel
pip3 install -r /vagrant/requirements.txt
python3 mariadb_setup.py
python3 cassandra_setup.py
python3 /vagrant/mariadb_setup.py
python3 /vagrant/cassandra_setup.py
deactivate
SHELL