Skip to content

Commit

Permalink
Add agama config logs
Browse files Browse the repository at this point in the history
  • Loading branch information
lemon-suse committed Dec 2, 2024
1 parent 5ec9485 commit 746d71d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Yam/Agama/agama_base.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit 746d71d

Please sign in to comment.