Skip to content

Commit 10ec11f

Browse files
jlebonHuijingHei
authored andcommitted
devshell: fix journal monitoring
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").
1 parent 74d0126 commit 10ec11f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mantle/cmd/kola/devshell.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ func watchJournal(builder *platform.QemuBuilder, conf *conf.Conf, stateChan chan
430430
},
431431
}
432432

433-
r, err := builder.VirtioJournal(conf, "--system")
433+
r, err := builder.VirtioJournal(conf, "-o json --system")
434434
if err != nil {
435435
return err
436436
}

0 commit comments

Comments
 (0)