mirror of
https://github.com/nestriness/nestri.git
synced 2026-11-23 07:29:51 +02:00
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:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user