Added missing ovs-wrapped, and added important dir to library path.
This commit is contained in:
parent
bccd81e4a7
commit
8590e3d3fc
16
conf/bin/ovs-wrapper
Executable file
16
conf/bin/ovs-wrapper
Executable file
@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
export OVS_LOGDIR=${SNAP_COMMON}/log/openvswitch
|
||||||
|
export OVS_RUNDIR=${SNAP_COMMON}/run/openvswitch
|
||||||
|
export OVS_SYSCONFDIR=${SNAP_COMMON}/etc
|
||||||
|
export OVS_PKGDATADIR=${SNAP}/share/openvswitch
|
||||||
|
export OVS_BINDIR=${SNAP}/bin
|
||||||
|
export OVS_SBINDIR=${SNAP}/sbin
|
||||||
|
|
||||||
|
mkdir -p ${OVS_LOGDIR}
|
||||||
|
mkdir -p ${OVS_RUNDIR}
|
||||||
|
mkdir -p ${OVS_SYSCONFDIR}/openvswitch
|
||||||
|
|
||||||
|
exec $@
|
@ -8,7 +8,7 @@ description: |
|
|||||||
grade: devel
|
grade: devel
|
||||||
confinement: classic
|
confinement: classic
|
||||||
environment:
|
environment:
|
||||||
LD_LIBRARY_PATH: $SNAP/lib:$SNAP/usr/lib
|
LD_LIBRARY_PATH: $SNAP/lib:$SNAP/usr/lib:$SNAP/usr/lib/x86_64-linux-gnu
|
||||||
PATH: $SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH
|
PATH: $SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH
|
||||||
LC_ALL: C
|
LC_ALL: C
|
||||||
OS_PLACEMENT_CONFIG_DIR: $SNAP/etc/nova/
|
OS_PLACEMENT_CONFIG_DIR: $SNAP/etc/nova/
|
||||||
@ -372,6 +372,12 @@ parts:
|
|||||||
echo
|
echo
|
||||||
done
|
done
|
||||||
|
|
||||||
|
ovs-wrapper:
|
||||||
|
source: conf
|
||||||
|
plugin: dump
|
||||||
|
after:
|
||||||
|
- openvswitch
|
||||||
|
|
||||||
# Openstack Shared Parts
|
# Openstack Shared Parts
|
||||||
templates:
|
templates:
|
||||||
after: [keystone, nova, neutron, openvswitch]
|
after: [keystone, nova, neutron, openvswitch]
|
||||||
|
Loading…
Reference in New Issue
Block a user