[ovs-dev] [PATCH v2] Initialize the right database.
Ted Elhourani
ted.elhourani at nutanix.com
Fri Feb 15 00:59:57 UTC 2019
Use value of db parameter in order to initialize the correct database.
Signed-off-by: Ted Elhourani <ted.elhourani at nutanix.com>
---
ovn/utilities/ovn-ctl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ovn/utilities/ovn-ctl b/ovn/utilities/ovn-ctl
index 1e369b1..f1297a2 100755
--- a/ovn/utilities/ovn-ctl
+++ b/ovn/utilities/ovn-ctl
@@ -222,7 +222,7 @@ $cluster_remote_port
# Initialize the database if it's running standalone,
# active-passive, or is the first server in a cluster.
if test -z "$cluster_remote_addr"; then
- ovn-nbctl init
+ ovn-${db}ctl init
fi
if test $mode = cluster; then
--
2.7.4
More information about the dev
mailing list