Use -l for systemctl status (to avoid ellipsization)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
cb035c7737
commit
0639468de6
@ -47,7 +47,7 @@ sub post_fail_hook {
|
|||||||
script_run 'printf "\n** IP ROUTE **\n" > /dev/' . $serialdev;
|
script_run 'printf "\n** IP ROUTE **\n" > /dev/' . $serialdev;
|
||||||
script_run "ip route > /dev/${serialdev} 2>&1";
|
script_run "ip route > /dev/${serialdev} 2>&1";
|
||||||
script_run 'printf "\n** NETWORKMANAGER.SERVICE STATUS **\n" > /dev/' . $serialdev;
|
script_run 'printf "\n** NETWORKMANAGER.SERVICE STATUS **\n" > /dev/' . $serialdev;
|
||||||
script_run "systemctl --no-pager status NetworkManager.service > /dev/${serialdev} 2>&1";
|
script_run "systemctl --no-pager -l status NetworkManager.service > /dev/${serialdev} 2>&1";
|
||||||
script_run 'printf "\n** JOURNAL **\n" > /dev/' . $serialdev;
|
script_run 'printf "\n** JOURNAL **\n" > /dev/' . $serialdev;
|
||||||
script_run "journalctl -b --no-pager > /dev/${serialdev}";
|
script_run "journalctl -b --no-pager > /dev/${serialdev}";
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user