silent install
This commit is contained in:
parent
a9a32de4af
commit
093eeb0dbb
1 changed files with 2 additions and 2 deletions
4
stack.sh
4
stack.sh
|
@ -173,7 +173,7 @@ cp $DEVSTACK/files/screenrc ~/.screenrc
|
||||||
#
|
#
|
||||||
if [[ "$ENABLED_SERVICES" =~ "rabbit" ]]; then
|
if [[ "$ENABLED_SERVICES" =~ "rabbit" ]]; then
|
||||||
# Install and start rabbitmq-server
|
# Install and start rabbitmq-server
|
||||||
sudo apt-get install rabbitmq-server
|
sudo apt-get install -y -q rabbitmq-server
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Mysql
|
# Mysql
|
||||||
|
@ -181,7 +181,7 @@ fi
|
||||||
#
|
#
|
||||||
if [[ "$ENABLED_SERVICES" =~ "mysql" ]]; then
|
if [[ "$ENABLED_SERVICES" =~ "mysql" ]]; then
|
||||||
# Install and start mysql-server
|
# Install and start mysql-server
|
||||||
sudo apt-get install mysql-server
|
sudo apt-get -y -q install mysql-server
|
||||||
# Update the DB to give user ‘$MYSQL_USER’@’%’ full control of the all databases:
|
# Update the DB to give user ‘$MYSQL_USER’@’%’ full control of the all databases:
|
||||||
sudo mysql -uroot -p$MYSQL_PASS -e "GRANT ALL PRIVILEGES ON *.* TO '$MYSQL_USER'@'%' identified by '$MYSQL_PASS';"
|
sudo mysql -uroot -p$MYSQL_PASS -e "GRANT ALL PRIVILEGES ON *.* TO '$MYSQL_USER'@'%' identified by '$MYSQL_PASS';"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue