Add iptables logs

Change-Id: I5304e982729bddf7003aa80496f03aed2e369d7b
This commit is contained in:
Mohammed Naser 2018-08-17 11:53:38 -04:00
parent f6851519b9
commit f5ffaf8ef3
1 changed files with 4 additions and 0 deletions

View File

@ -257,6 +257,10 @@ env > "${WORKING_DIR}/logs/environment.txt" || true
# output ram usage
free -m > "${WORKING_DIR}/logs/memory-available.txt" || true
# iptables
sudo iptables -nvL > "${WORKING_DIR}/logs/iptables.txt" || true
sudo iptables -t nat -nvL > "${WORKING_DIR}/logs/iptables-nat.txt" || true
repo_information host
# Record the active interface configs