Skip to content

Commit

Permalink
devshell: fix journal monitoring
Browse files Browse the repository at this point in the history
Commit 7b07ffe dropped the `-o json` argument to the journalctl query
that the devshell code uses to monitor system boot and know when to SSH.
Fix this by re-adding the argument but only for devshell so that the
default is still to output traditional logs (as in the testiso case).

Fixes 7b07ffe ("mantle/platform/qemu: drop json formatting from
journal output").
  • Loading branch information
jlebon committed May 10, 2024
1 parent d962de6 commit ea50888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mantle/cmd/kola/devshell.go
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ func watchJournal(builder *platform.QemuBuilder, conf *conf.Conf, stateChan chan
},
}

r, err := builder.VirtioJournal(conf, "--system")
r, err := builder.VirtioJournal(conf, "-o json --system")
if err != nil {
return err
}
Expand Down

0 comments on commit ea50888

Please sign in to comment.