Skip to content

Commit

Permalink
[docker]: docker-ptf doesn't wait until eth3 is up
Browse files Browse the repository at this point in the history
This is done inside ptf agent now
  • Loading branch information
pavel-shirshov authored and Shuotian Cheng committed Jan 17, 2017
1 parent ae4b72e commit 86f5c19
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dockers/docker-ptf/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,4 @@ COPY ptf_nn_agent.conf /etc/supervisor/conf.d/ptf_nn_agent.conf

EXPOSE 22

ENTRYPOINT while [ "x$( ifconfig eth3 | grep RUNNING )" = 'x' ] ; do sleep 1 ; done \
&& /usr/bin/supervisord
ENTRYPOINT ["/usr/bin/supervisord"]

0 comments on commit 86f5c19

Please sign in to comment.