Merge "[OVN] Fix devstack module for OpenSuse"

This commit is contained in:
Zuul 2020-07-08 18:07:44 +00:00 committed by Gerrit Code Review
commit f96f3192e8
1 changed files with 4 additions and 0 deletions

View File

@ -379,6 +379,10 @@ function install_ovn {
compile_ovn $OVN_BUILD_MODULES
fi
# Ensure that the OVS commands are accessible in the PATH
OVS_BINDIR=${OVS_BINDIR:-/usr/local/bin}
export PATH=$OVS_BINDIR:$PATH
sudo mkdir -p $OVS_RUNDIR
sudo chown $(whoami) $OVS_RUNDIR
sudo mkdir -p $OVS_PREFIX/var/log/openvswitch