diff options
author | Ted Elhourani <ted.elhourani@nutanix.com> | 2019-02-15 00:59:57 +0000 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2019-02-14 20:08:19 -0800 |
commit | a62a96099186d5f369ba8c5faa088e432db60fcd (patch) | |
tree | 737632743896c268129764c9015ae4141db95183 /ovn | |
parent | cda1b109c296ac7a8931ce374081bb54eee7aa10 (diff) | |
download | openvswitch-a62a96099186d5f369ba8c5faa088e432db60fcd.tar.gz |
Initialize the right database.
Use value of db parameter in order to initialize the correct database.
Signed-off-by: Ted Elhourani <ted.elhourani@nutanix.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'ovn')
-rwxr-xr-x | ovn/utilities/ovn-ctl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ovn/utilities/ovn-ctl b/ovn/utilities/ovn-ctl index 1e369b1f5..f1297a262 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 |