From 2c7562eea4ed909e38cf0c27a49f171720eb9147 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 16 Jan 2019 11:25:03 -0800 Subject: [PATCH] Log more network status stuff for anaconda failures without net This was in installedtest.pm but not anacondatest.pm, may as well have it in both. Signed-off-by: Adam Williamson --- lib/anacondatest.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/anacondatest.pm b/lib/anacondatest.pm index 6768538a..6d892e0e 100644 --- a/lib/anacondatest.pm +++ b/lib/anacondatest.pm @@ -40,6 +40,12 @@ sub post_fail_hook { script_run "cat /run/initramfs/rdsosreport.txt > /dev/${serialdev}"; return; } + script_run 'printf "\n** IP ADDR **\n" > /dev/' . $serialdev; + script_run "ip addr > /dev/${serialdev} 2>&1"; + script_run 'printf "\n** IP ROUTE **\n" > /dev/' . $serialdev; + script_run "ip route > /dev/${serialdev} 2>&1"; + script_run 'printf "\n** NETWORKMANAGER.SERVICE STATUS **\n" > /dev/' . $serialdev; + script_run "systemctl --no-pager -l status NetworkManager.service > /dev/${serialdev} 2>&1"; script_run 'printf "\n** X.LOG **\n" > /dev/' . $serialdev; script_run "cat /tmp/X.log > /dev/${serialdev}"; script_run 'printf "\n** ANACONDA.LOG **\n" > /dev/' . $serialdev;