Skip to content
Snippets Groups Projects
Commit aa281585 authored by Stéphane Diemer's avatar Stéphane Diemer
Browse files

Fixed postgresql root password set command.

parent c3fd99b6
No related branches found
No related tags found
No related merge requests found
......@@ -13,5 +13,5 @@ def setup(interactive=True):
]
root_pwd = utils.get_conf('DB_PG_ROOT_PWD')
if root_pwd:
cmds.append('sudo su - postgres -c "psql -w -q -A -c "ALTER USER postgres WITH PASSWORD \'%s\';"' % root_pwd)
cmds.append('sudo su - postgres -c "psql -w -q -A -c \\"ALTER USER postgres WITH PASSWORD \'%s\';\\""' % root_pwd)
utils.run_commands(cmds)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment