mirror of
https://github.com/rancher/os.git
synced 2025-08-10 19:12:30 +00:00
Add networking info for collect_rancheros_info.sh
This commit is contained in:
parent
6c9be2625e
commit
5b629d0d13
3
scripts/tools/collect_rancheros_info.sh
Normal file → Executable file
3
scripts/tools/collect_rancheros_info.sh
Normal file → Executable file
@ -46,6 +46,9 @@ docker info > $dest_conf_dir/docker-info
|
|||||||
cat /proc/mounts > $dest_conf_dir/proc-mounts
|
cat /proc/mounts > $dest_conf_dir/proc-mounts
|
||||||
cat /proc/1/mounts > $dest_conf_dir/proc-1-mounts
|
cat /proc/1/mounts > $dest_conf_dir/proc-1-mounts
|
||||||
cat /proc/cmdline > $dest_conf_dir/cmdline
|
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
|
dmesg > $dest_conf_dir/dmesg.log
|
||||||
|
|
||||||
cd $conf_file_src_dir && cp -rf `ls | grep -E -v "^(pem)$"` $dest_conf_dir
|
cd $conf_file_src_dir && cp -rf `ls | grep -E -v "^(pem)$"` $dest_conf_dir
|
||||||
|
Loading…
Reference in New Issue
Block a user