Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

Commit 5b629d0

Browse files
committed
Add networking info for collect_rancheros_info.sh
1 parent 6c9be26 commit 5b629d0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/tools/collect_rancheros_info.sh

100644100755
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ docker info > $dest_conf_dir/docker-info
4646
cat /proc/mounts > $dest_conf_dir/proc-mounts
4747
cat /proc/1/mounts > $dest_conf_dir/proc-1-mounts
4848
cat /proc/cmdline > $dest_conf_dir/cmdline
49+
ip a > $dest_conf_dir/ipall
50+
ip route > $dest_conf_dir/iproutes
51+
cat /etc/resolv.conf > $dest_conf_dir/resolv
4952
dmesg > $dest_conf_dir/dmesg.log
5053

5154
cd $conf_file_src_dir && cp -rf `ls | grep -E -v "^(pem)$"` $dest_conf_dir

0 commit comments

Comments
 (0)