Revision bd9b6f21 snf-deploy/fabfile.py
b/snf-deploy/fabfile.py | ||
---|---|---|
454 | 454 |
""" |
455 | 455 |
try_run(cmd) |
456 | 456 |
|
457 |
if env.env.testing_vm: |
|
458 |
cmd = """ |
|
459 |
echo "fsync=off\nsynchronous_commit=off\nfull_page_writes=off" >> /etc/postgresql/8.4/main/postgresql.conf |
|
460 |
""" |
|
461 |
try_run(cmd) |
|
462 |
|
|
457 | 463 |
allow_access_in_db(env.host, "all", "trust") |
458 | 464 |
try_run("/etc/init.d/postgresql restart") |
459 | 465 |
|
Also available in: Unified diff