Skip to content

Commit

Permalink
DEBUG
Browse files Browse the repository at this point in the history
Signed-off-by: Akihiro Suda <[email protected]>
  • Loading branch information
AkihiroSuda committed Jul 2, 2024
1 parent 854a0a0 commit 6e608ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hack/test-templates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ function diagnose() {
NAME="$1"
set -x +e
tail "$HOME/.lima/${NAME}"/*.log
limactl shell "$NAME" mount
limactl shell "$NAME" systemctl --no-pager status
limactl shell "$NAME" systemctl --no-pager
limactl shell "$NAME" sudo cat /var/log/cloud-init-output.log
Expand Down Expand Up @@ -132,6 +133,7 @@ if ! limactl start "$NAME"; then
fi

limactl shell "$NAME" uname -a
diagnose "$NAME"

limactl shell "$NAME" cat /etc/os-release
set +x
Expand Down

0 comments on commit 6e608ec

Please sign in to comment.