mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 10:12:53 +01:00
Mysql Module - Change to new docker
This commit is contained in:
@@ -43,7 +43,7 @@ mysqldatadir:
|
||||
|
||||
so-mysql:
|
||||
docker_container.running:
|
||||
- image: mysql/mysql-server:5.7
|
||||
- image: soshybridhunter/so-mysql:HH1.0.5
|
||||
- hostname: so-mysql
|
||||
- user: socore
|
||||
- port_bindings:
|
||||
|
||||
@@ -170,6 +170,10 @@ configure_minion() {
|
||||
if [ $TYPE == 'master' ] || [ $TYPE == 'eval' ]; then
|
||||
echo "master: $HOSTNAME" > /etc/salt/minion
|
||||
echo "id: $HOSTNAME" >> /etc/salt/minion
|
||||
echo "mysql.host: '$MAINIP'" >> /etc/salt/minion
|
||||
echo "mysql.port: 3306" >> /etc/salt/minion
|
||||
echo "mysql.user: 'root'" >> /etc/salt/minion
|
||||
echo "mysql.pass: '$MYSQLPASS'" >> /etc/salt/minion
|
||||
else
|
||||
echo "master: $MSRV" > /etc/salt/minion
|
||||
echo "id: $HOSTNAME" >> /etc/salt/minion
|
||||
|
||||
Reference in New Issue
Block a user