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:50 -0800 |
commit | d5746be5b4f691f73d09c477a2ba965a0f29c4ef (patch) | |
tree | 44b29a58fee28c5d924dfbc0a7812e5867976461 | |
parent | 8605d1fc3a949724527d2b1762131e2743f6c54b (diff) | |
download | openvswitch-d5746be5b4f691f73d09c477a2ba965a0f29c4ef.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>
-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 b6d338de5..838bb7a56 100755 --- a/ovn/utilities/ovn-ctl +++ b/ovn/utilities/ovn-ctl @@ -220,7 +220,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 |