From 3b4d85239f5c4785ddd03bf751dff5cef7b3f7b8 Mon Sep 17 00:00:00 2001 From: Shuotian Cheng Date: Fri, 16 Nov 2018 09:40:35 -0800 Subject: [PATCH] [vs]: Create /var/warmboot/teamd folder for teammgrd (#2262) To suppress the error message: INFO #supervisord: teammgrd Can't write to the lacp directory '/var/warmboot/teamd/': No such file or directory Signed-off-by: Shu0T1an ChenG --- platform/vs/docker-sonic-vs/Dockerfile.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platform/vs/docker-sonic-vs/Dockerfile.j2 b/platform/vs/docker-sonic-vs/Dockerfile.j2 index 71caf92e53..e3fe4dd019 100644 --- a/platform/vs/docker-sonic-vs/Dockerfile.j2 +++ b/platform/vs/docker-sonic-vs/Dockerfile.j2 @@ -97,4 +97,7 @@ RUN mv /usr/sbin/tcpdump /usr/bin/tcpdump RUN echo "docker-sonic-vs" > /etc/hostname RUN touch /etc/quagga/zebra.conf +# Create /var/warmboot/teamd folder for teammgrd +RUN mkdir -p /var/warmboot/teamd + ENTRYPOINT ["/usr/bin/supervisord"]