Skip to content

Commit

Permalink
Fix sftp password updater
Browse files Browse the repository at this point in the history
  • Loading branch information
Stell0 committed Jan 21, 2025
1 parent 8cd8d3d commit ba6cc0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imageroot/bin/set-sftp-config
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ config['server']['protocols']['sftp']['bind_addr'] = "0.0.0.0:" + os.environ['AS
mariadb_root_passwd = agent.read_envfile("passwords.env")['MARIADB_ROOT_PASSWORD']
command = [
"/usr/bin/podman", "exec", "-it", "mariadb",
"mysql", "-B", "--silent", "-uroot", f"-p{mariadb_root_passwd}", " ",
"mysql", "-B", "--silent", "-uroot", f"-p{mariadb_root_passwd}", "asterisk",
"-e",
"SELECT password_sha1 FROM ampusers WHERE username = 'admin';"
]
Expand Down

0 comments on commit ba6cc0f

Please sign in to comment.