diff options
Diffstat (limited to 'src/collectd/ovs_pmd_stats_config.sh')
-rwxr-xr-x | src/collectd/ovs_pmd_stats_config.sh | 4 |
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 |