correct script paths
This commit is contained in:
parent
9a3ab8728b
commit
992ced99dd
|
@ -33,7 +33,7 @@ Vagrant.configure("2") do |config|
|
||||||
sed -i "s/^bind-address/#bind-address/" /etc/mysql/my.cnf
|
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;"
|
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
|
service mysql restart
|
||||||
mysql < /vagrant/create_mariadb_database.sql
|
mysql < /vagrant/mariadb_create_db.sql
|
||||||
adduser vagrant mysql
|
adduser vagrant mysql
|
||||||
|
|
||||||
mkdir /home/vagrant/venv
|
mkdir /home/vagrant/venv
|
||||||
|
@ -41,8 +41,8 @@ Vagrant.configure("2") do |config|
|
||||||
source /home/vagrant/venv/bin/activate
|
source /home/vagrant/venv/bin/activate
|
||||||
pip3 install wheel
|
pip3 install wheel
|
||||||
pip3 install -r /vagrant/requirements.txt
|
pip3 install -r /vagrant/requirements.txt
|
||||||
python3 mariadb_setup.py
|
python3 /vagrant/mariadb_setup.py
|
||||||
python3 cassandra_setup.py
|
python3 /vagrant/cassandra_setup.py
|
||||||
deactivate
|
deactivate
|
||||||
SHELL
|
SHELL
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue