From 8f577f284a5b8e16685577a122d34bb1165e0e4b Mon Sep 17 00:00:00 2001 From: Tin Lam Date: Sat, 8 Jul 2017 13:16:31 -0500 Subject: [PATCH] Fix an issue where arp is not found This patch set addresses an issue where the ``arp`` command cannot be found by a non-root user due to path. Change-Id: Ibfca30f38d72c5be0b98d92bd03ec40160196160 Signed-off-by: Tin Lam --- tools/gate/dump_logs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gate/dump_logs.sh b/tools/gate/dump_logs.sh index 66d6183b95..c4dc059876 100755 --- a/tools/gate/dump_logs.sh +++ b/tools/gate/dump_logs.sh @@ -85,7 +85,7 @@ mkdir -p ${LOGS_DIR}/nodes/$(hostname) sudo iptables-save > ${LOGS_DIR}/nodes/$(hostname)/iptables.txt sudo ip a > ${LOGS_DIR}/nodes/$(hostname)/ip.txt sudo route -n > ${LOGS_DIR}/nodes/$(hostname)/routes.txt -arp -a > ${LOGS_DIR}/nodes/$(hostname)/arp.txt +sudo arp -a > ${LOGS_DIR}/nodes/$(hostname)/arp.txt cat /etc/resolv.conf > ${LOGS_DIR}/nodes/$(hostname)/resolv.conf exit $1