Skip to content

Commit

Permalink
Revert " [build templates] Add environment variables for mellanox syn…
Browse files Browse the repository at this point in the history
…cd container to support mellanox sdk and prm sniffer. (sonic-net#1551)"

This reverts commit c8753d0.
  • Loading branch information
bolv committed Jul 30, 2018
1 parent 736da60 commit e129efe
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions files/build_templates/docker_image_ctl.j2
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,6 @@ start() {
docker run -d {{docker_image_run_opt}} \
{%- if '--log-driver=json-file' in docker_image_run_opt or '--log-driver' not in docker_image_run_opt %}
--log-opt max-size=2M --log-opt max-file=5 \
{%- endif %}
{%- if docker_container_name == "syncd" and sonic_asic_platform == "mellanox" %}
-e SX_SNIFFER_ENABLE \
-e SX_SNIFFER_TARGET \
-e PRM_SNIFFER \
-e PRM_SNIFFER_FILE_PATH \
-v /var/log/mellanox/sniffer:/var/log/mellanox/sniffer:rw \
{%- endif %}
-v /var/run/redis:/var/run/redis:rw \
-v /usr/share/sonic/device/$PLATFORM:/usr/share/sonic/platform:ro \
Expand Down

0 comments on commit e129efe

Please sign in to comment.