From 9de37cde96287c595c5c19e992ffcc9bf4c696fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Sat, 11 Apr 2026 14:55:32 +0400 Subject: [PATCH] Update doc --- doc/postgres/migration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.