fix(install): fetch the glibc host build (#364)

Releases switched from a static musl build to glibc in 0.2.3; the
installer still asked for musl and 404'd.
This commit is contained in:
Wanjohi
2026-10-07 16:05:37 +00:00
committed by GitHub
+1 -1
View File
@@ -34,7 +34,7 @@ TOKEN="${1:-${NESTRI_INSTALL_TOKEN:-}}"
# --- platform ---------------------------------------------------------------
[ "$(uname -s)" = Linux ] || die "a host has to run Linux (with KVM); this is $(uname -s)."
case "$(uname -m)" in
x86_64|amd64) target=x86_64-unknown-linux-musl ;;
x86_64|amd64) target=x86_64-unknown-linux-gnu ;;
*) die "no host build for $(uname -m) yet." ;;
esac
[ "$(id -u)" -ne 0 ] || die "run this as the user that will run boxes, not as root."