Update doc

This commit is contained in:
2026-04-11 14:55:32 +04:00
parent 64d5d34d85
commit 9de37cde96

View File

@@ -246,7 +246,7 @@ sudo -u postgres pg_fix_sequences [db_name]
```bash ```bash
export NEW_PG_PRIMARY=[private_ip] 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. Or override node attribute(s) if necessary and/or approporiate.