1
0
mirror of https://github.com/rancher/os.git synced 2025-04-27 19:15:23 +00:00

Add networking info for collect_rancheros_info.sh

This commit is contained in:
niusmallnan 2019-12-30 11:02:49 +08:00
parent 6c9be2625e
commit 5b629d0d13

3
scripts/tools/collect_rancheros_info.sh Normal file → Executable file
View File

@ -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