From 5b629d0d134bb9cea6f8e7ef8d2557c08a0be3a5 Mon Sep 17 00:00:00 2001 From: niusmallnan Date: Mon, 30 Dec 2019 11:02:49 +0800 Subject: [PATCH] Add networking info for collect_rancheros_info.sh --- scripts/tools/collect_rancheros_info.sh | 3 +++ 1 file changed, 3 insertions(+) mode change 100644 => 100755 scripts/tools/collect_rancheros_info.sh diff --git a/scripts/tools/collect_rancheros_info.sh b/scripts/tools/collect_rancheros_info.sh old mode 100644 new mode 100755 index 9d7297a0..7214857f --- a/scripts/tools/collect_rancheros_info.sh +++ b/scripts/tools/collect_rancheros_info.sh @@ -46,6 +46,9 @@ docker info > $dest_conf_dir/docker-info cat /proc/mounts > $dest_conf_dir/proc-mounts cat /proc/1/mounts > $dest_conf_dir/proc-1-mounts cat /proc/cmdline > $dest_conf_dir/cmdline +ip a > $dest_conf_dir/ipall +ip route > $dest_conf_dir/iproutes +cat /etc/resolv.conf > $dest_conf_dir/resolv dmesg > $dest_conf_dir/dmesg.log cd $conf_file_src_dir && cp -rf `ls | grep -E -v "^(pem)$"` $dest_conf_dir