diff options
author | Maryam Tahhan <maryam.tahhan@intel.com> | 2017-11-20 13:22:56 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-11-20 13:22:56 +0000 |
commit | dde33f975509dc47fe580a59f5ce3b615be23116 (patch) | |
tree | 7314e2acd3bff3cf780359da022ceeded0efd833 /src/collectd/ovs_pmd_stats_config.sh | |
parent | 8e44b29f6eca84e41aa8a5f3be5d006340d66d89 (diff) | |
parent | 810dac49e96193b447d231d25d6522eef2e62d02 (diff) |
Merge "docker: Added docker container for running collectd"
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 |