mirror of
https://github.com/optim-enterprises-bv/openstack-helm.git
synced 2025-12-26 01:37:15 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user