Revision 525d8b20 snf-deploy/fabfile.py

b/snf-deploy/fabfile.py
430 430
    """.format(user, ip, method)
431 431
    try_run(cmd)
432 432
    cmd = """
433
    sed -i 's/\(host.*127.0.0.1.*\)md5/\1trust/' /etc/postgresql/8.4/main/pg_hba.conf
433
    sed -i 's/\(host.*127.0.0.1.*\)md5/\\1trust/' /etc/postgresql/8.4/main/pg_hba.conf
434 434
    """
435 435
    try_run(cmd)
436 436
    try_run("/etc/init.d/postgresql restart")

Also available in: Unified diff