We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ca1eb2 commit 503d87bCopy full SHA for 503d87b
dockers/docker-lldp-sv2/base_image_files/lldpcli
@@ -0,0 +1,10 @@
1
+#!/bin/bash
2
+
3
+DOCKER_EXEC_FLAGS="i"
4
5
+# Determine whether stdout is on a terminal
6
+if [ -t 1 ] ; then
7
+ DOCKER_EXEC_FLAGS+="t"
8
+fi
9
10
+docker exec -$DOCKER_EXEC_FLAGS lldp lldpcli "$@"
rules/docker-lldp-sv2.mk
@@ -29,3 +29,4 @@ $(DOCKER_LLDP_SV2)_RUN_OPT += --net=host --privileged -t
29
$(DOCKER_LLDP_SV2)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
30
31
$(DOCKER_LLDP_SV2)_BASE_IMAGE_FILES += lldpctl:/usr/bin/lldpctl
32
+$(DOCKER_LLDP_SV2)_BASE_IMAGE_FILES += lldpcli:/usr/bin/lldpcli
0 commit comments