Skip to content

Commit b3fed9d

Browse files
committed
Config updater: propagate mysql password into bundled fleetspeak config.
1 parent dad69fa commit b3fed9d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

grr/server/grr_response_server/bin/config_updater_util.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,8 +438,9 @@ def _WriteEnabled(self, config):
438438
cp = config_pb2.Config()
439439
cp.configuration_name = "Fleetspeak"
440440
cp.components_config.mysql_data_source_name = (
441-
"{user}:@tcp({host}:{port})/{db}".format(
441+
"{user}:{password}@tcp({host}:{port})/{db}".format(
442442
user=self.mysql_username,
443+
password=self.mysql_password,
443444
host=self.mysql_host,
444445
port=self.mysql_port,
445446
db=self.mysql_database))

0 commit comments

Comments
 (0)