[ovs-dev] [PATCH v2 1/2] rhel: Fix Environment for ovn-controller-vtep.

Russell Bryant russell at ovn.org
Wed Nov 23 20:01:23 UTC 2016


The systemd unit for ovn-controller-vtep incorrectly specified
Environment multiple times.  Multiple environment variables must
be specified separated by a space to a single Environment option.

Signed-off-by: Russell Bryant <russell at ovn.org>
---
 rhel/usr_lib_systemd_system_ovn-controller-vtep.service | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

v1->v2:
 - no changes to patch 1

diff --git a/rhel/usr_lib_systemd_system_ovn-controller-vtep.service b/rhel/usr_lib_systemd_system_ovn-controller-vtep.service
index 717ff12..26d4d9a 100644
--- a/rhel/usr_lib_systemd_system_ovn-controller-vtep.service
+++ b/rhel/usr_lib_systemd_system_ovn-controller-vtep.service
@@ -29,9 +29,7 @@ After=openvswitch.service
 
 [Service]
 Type=simple
-Environment=OVS_RUNDIR=%t/openvswitch
-Environment=OVN_DB=unix:%t/openvswitch/db.sock
-Environment=VTEP_DB=unix:%t/openvswitch/db.sock
+Environment=OVS_RUNDIR=%t/openvswitch OVN_DB=unix:%t/openvswitch/db.sock VTEP_DB=unix:%t/openvswitch/db.sock
 ExecStart=/usr/bin/ovn-controller-vtep -vconsole:emer -vsyslog:err -vfile:info \
           --log-file=/var/log/openvswitch/ovn-controller-vtep.log \
           --no-chdir --pidfile=${OVS_RUNDIR}/ovn-controller-vtep.pid \
-- 
2.9.3



More information about the dev mailing list