From 746d71ded3f927c11dfcc50d2f2251e76eb165d8 Mon Sep 17 00:00:00 2001 From: "lemon.li" Date: Sun, 1 Dec 2024 20:59:25 -0500 Subject: [PATCH] Add agama config logs --- lib/Yam/Agama/agama_base.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Yam/Agama/agama_base.pm b/lib/Yam/Agama/agama_base.pm index 9672d325bc30..e4bb84965dae 100644 --- a/lib/Yam/Agama/agama_base.pm +++ b/lib/Yam/Agama/agama_base.pm @@ -18,6 +18,7 @@ sub post_fail_hook { sub upload_agama_logs { select_console 'root-console'; + save_and_upload_log('agama config show > /tmp/agama-config.json', "/tmp/agama-config.json"); save_and_upload_log('agama logs store', "/tmp/agama-logs.tar.gz"); save_and_upload_log('journalctl -b > /tmp/journal.log', "/tmp/journal.log"); }