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 <tin@irrational.io>
This commit is contained in:
parent
ab52a43425
commit
8f577f284a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user