Skip to content

Commit 76487b1

Browse files
committed
hack/test-templates.sh: Include an output of journalctl -b to diagnose
Signed-off-by: Norio Nomura <[email protected]>
1 parent 124353a commit 76487b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hack/test-templates.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ function diagnose() {
152152
mkdir -p failure-logs
153153
cp -pf "$HOME_HOST/.lima/${NAME}"/*.log failure-logs/
154154
limactl shell "$NAME" sudo cat /var/log/cloud-init-output.log | tee failure-logs/cloud-init-output.log
155+
limactl shell "$NAME" sh -c "command -v journalctl >/dev/null && sudo journalctl -b --no-pager" > failure-logs/journal.log
155156
set +x -e
156157
}
157158

0 commit comments

Comments
 (0)