kolla-ansible/docker/common/openvswitch/ovs-vswitchd/config-internal.sh
Swapnil Kulkarni dd2e2ad8e2 Make variables in OVS container configurable
Change-Id: I8d216ca20c97428e3b27d48d0a5249282dcb8c18
Closes-Bug: #1468509
2015-07-27 07:47:39 +00:00

13 lines
244 B
Bash
Executable File

#!/bin/bash
set -o errexit
check_required_vars OVS_UNIXSOCK
modprobe openvswitch
mkdir -p "$(dirname $OVS_UNIXSOCK)"
exec ovs-vswitchd unix:"${OVS_UNIXSOCK}" -vconsole:emer -vsyslog:err -vfile:info --mlockall --log-file="${OVS_LOG_FILE}"