diff --git a/doc/postgres/migration.md b/doc/postgres/migration.md index d1f7d27..27915a5 100644 --- a/doc/postgres/migration.md +++ b/doc/postgres/migration.md @@ -246,7 +246,7 @@ sudo -u postgres pg_fix_sequences [db_name] ```bash export NEW_PG_PRIMARY=[private_ip] - bundle exec knife ssh roles:ejabberd -a knife_zero.host "sudo sed -r \"s/^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\s(pg.kosmos.local)/$NEW_PG_PRIMARY\t\1/\" -i /etc/hosts" + knife ssh roles:ejabberd -a knife_zero.host "sudo sed -r \"s/^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\s(pg.kosmos.local)/$NEW_PG_PRIMARY\t\1/\" -i /etc/hosts" ``` Or override node attribute(s) if necessary and/or approporiate.