From 83a5d9d8ec5a4df71367156ec3b0d346bba8d1ad Mon Sep 17 00:00:00 2001 From: Taoyu Li Date: Mon, 13 Feb 2017 22:26:23 +0000 Subject: [PATCH] Remove /etc/default/snmpd from snmp docker --- dockers/docker-snmp-sv2/Dockerfile.j2 | 1 - dockers/docker-snmp-sv2/snmpd | 11 ----------- 2 files changed, 12 deletions(-) delete mode 100644 dockers/docker-snmp-sv2/snmpd diff --git a/dockers/docker-snmp-sv2/Dockerfile.j2 b/dockers/docker-snmp-sv2/Dockerfile.j2 index 4e440d7f5e3a..21d1573f0e10 100644 --- a/dockers/docker-snmp-sv2/Dockerfile.j2 +++ b/dockers/docker-snmp-sv2/Dockerfile.j2 @@ -39,7 +39,6 @@ RUN apt-get update && apt-get install -y supervisor \ COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf COPY ["*.j2", "/etc/swss/snmp/"] -COPY ["snmpd", "/etc/default/"] COPY ["config.sh", "/usr/bin/"] ## Although exposing ports is not need for host net mode, keep it for possible bridge mode diff --git a/dockers/docker-snmp-sv2/snmpd b/dockers/docker-snmp-sv2/snmpd deleted file mode 100644 index 576c366d2ba1..000000000000 --- a/dockers/docker-snmp-sv2/snmpd +++ /dev/null @@ -1,11 +0,0 @@ -# This file controls the activity of snmpd - -# Don't load any MIBs by default. -# You might comment this lines once you have the MIBs downloaded. -export MIBS= - -# snmpd control (yes means start daemon). -SNMPDRUN=yes - -# snmpd options (use syslog, close stdin/out/err). -SNMPDOPTS='-LS4d -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux,mteTrigger,mteTriggerConf,ifTable,ifXTable -p /run/snmpd.pid'