aboutsummaryrefslogtreecommitdiffstats
path: root/src/collectd/ovs_pmd_stats_config.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/collectd/ovs_pmd_stats_config.sh')
-rwxr-xr-xsrc/collectd/ovs_pmd_stats_config.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/collectd/ovs_pmd_stats_config.sh b/src/collectd/ovs_pmd_stats_config.sh
index dc28f204..bdb0615d 100755
--- a/src/collectd/ovs_pmd_stats_config.sh
+++ b/src/collectd/ovs_pmd_stats_config.sh
@@ -27,3 +27,7 @@ if [ "${RESULT:-null}" != null ]; then
else
echo "Openvswitch service is not running. Please start before running ovs plugins"
fi
+# Always copy python ovs module when building Docker image
+if [ -z ${DOCKER+x} ]; then
+ cp $OVS_PMD_STAT_SCRIPT $PATH_LOCAL
+fi