Skip to content

Commit

Permalink
Merge pull request #20716 from lemon-suse/add-agama-config-in-logs
Browse files Browse the repository at this point in the history
Include agama config attached to the job in openQA
  • Loading branch information
jknphy authored Dec 2, 2024
2 parents 5ec9485 + 746d71d commit 68f0de2
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 68f0de2

Please sign in to comment.