Alon Bar-Lev has uploaded a new change for review. Change subject: packaging: setup: database: align manual instructions with defaults ......................................................................
packaging: setup: database: align manual instructions with defaults Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1067548 Change-Id: I3bc5329aff8898f406eb02f3544e165b115ea9b4 Signed-off-by: Alon Bar-Lev <[email protected]> --- M packaging/setup/plugins/ovirt-engine-setup/ovirt-engine-common/db/connection.py 1 file changed, 8 insertions(+), 4 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/16/25516/1 diff --git a/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine-common/db/connection.py b/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine-common/db/connection.py index 7f433fa..bbe62c9 100644 --- a/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine-common/db/connection.py +++ b/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine-common/db/connection.py @@ -133,14 +133,18 @@ "Please create database for ovirt-engine use. " "Use the following commands as an example:\n" "\n" - "create role engine with login encrypted password 'engine'" + "create role {user} with login encrypted password '{user}'" ";\n" - "create database engine owner engine template template0\n" - "encoding 'UTF8' lc_collate 'en_US.UTF-8'\n" - "lc_ctype 'en_US.UTF-8';\n" + "create {database} engine owner {user}\n" + " template template0\n" + " encoding 'UTF8' lc_collate 'en_US.UTF-8'\n" + " lc_ctype 'en_US.UTF-8';\n" "\n" "Make sure that database can be accessed remotely.\n" "\n" + ).format( + user=osetupcons.Defaults.DEFAULT_DB_USER, + database=osetupcons.Defaults.DEFAULT_DB_DATABASE, ), ) -- To view, visit http://gerrit.ovirt.org/25516 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3bc5329aff8898f406eb02f3544e165b115ea9b4 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.4.0 Gerrit-Owner: Alon Bar-Lev <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
