Skip to content

Commit

Permalink
Don't wait until eth3 is up. We're doing it inside ptf agent now
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-shirshov committed Jan 17, 2017
1 parent ae4b72e commit 07cc65f
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 07cc65f

Please sign in to comment.