Skip to content

eBPF-based security platform

lima: link early appliance failures to troubleshooting

Andrea Lattuada4a334c1d3868
diff --git a/infra/lima/shirudo.yaml b/infra/lima/shirudo.yaml
index 2eb50e1d..8843df8f 100644
--- a/infra/lima/shirudo.yaml
+++ b/infra/lima/shirudo.yaml
@@ -107,7 +107,8 @@ provision:
0) echo "The nested KVM appliance is ready." ;;
124) echo "The nested KVM appliance check timed out. Inspect $log for boot progress."
echo "If boot stalled, see https://docs.shirudo.dev/start/quickstart-macos.html#troubleshooting" ;;
- *) echo "The nested KVM appliance check failed with status $rc. See $log." ;;
+ *) echo "The nested KVM appliance check failed with status $rc. See $log."
+ echo "For troubleshooting, see https://docs.shirudo.dev/start/quickstart-macos.html#troubleshooting" ;;
esac
fi
{{end}}
diff --git a/testing/vm/build-bundle.sh b/testing/vm/build-bundle.sh
index fb6bee13..857df958 100755
--- a/testing/vm/build-bundle.sh
+++ b/testing/vm/build-bundle.sh
@@ -274,7 +274,8 @@ if [[ "${1:-}" == --check-kvm-appliance ]]; then
0) log "KVM appliance ready. Check target readiness separately with 'make -C testing vm'." ;;
124) log "KVM appliance readiness check timed out. Inspect the console for boot progress."
log "If boot appears stalled in Lima, see https://docs.shirudo.dev/start/quickstart-macos.html#troubleshooting" ;;
- *) log "KVM appliance check failed with status $status. See output above." ;;
+ *) log "KVM appliance check failed with status $status. See output above."
+ log "For troubleshooting, see https://docs.shirudo.dev/start/quickstart-macos.html#troubleshooting" ;;
esac
exit "$status"
fi