diff options
author | Ben Pfaff <blp@nicira.com> | 2010-03-18 17:12:02 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-03-19 16:47:11 -0700 |
commit | 78876719e0eaf181a6775417ad41ec5852efa863 (patch) | |
tree | b91b82f84b51997dfd94d51952eac7b12f46cdfb /debian | |
parent | a976b2eca2bdbc69b9dabf9157b81a98c0e4a9e0 (diff) |
ovsdb-server: Obtain SSL configuration from database.
ovsdb-server should be able to obtain its SSL configuration from the
database that it is serving out, instead of having to specify it on the
command line. This commit makes it so.
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/openvswitch-switch.init | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/openvswitch-switch.init b/debian/openvswitch-switch.init index 7ce9a645..3db7ace7 100755 --- a/debian/openvswitch-switch.init +++ b/debian/openvswitch-switch.init @@ -230,6 +230,9 @@ case "$1" in set -- "$@" --detach --pidfile $monitor_opt set -- "$@" --remote punix:/var/run/ovsdb-server set -- "$@" /etc/openvswitch-switch/conf + set -- "$@" --private-key=db:SSL,private_key + set -- "$@" --certificate=db:SSL,certificate + set -- "$@" --bootstrap-ca-cert=db:SSL,ca_cert set -- "$@" $OVSDB_SERVER_OPTS echo -n "Starting ovsdb-server: " start-stop-daemon --start --quiet --pidfile /var/run/ovsdb-server.pid \ |