diff --git a/hack/test-templates.sh b/hack/test-templates.sh index 5f6732d1fea0..19cfd6149980 100755 --- a/hack/test-templates.sh +++ b/hack/test-templates.sh @@ -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 @@ -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