mirror of
https://github.com/nestriness/nestri.git
synced 2026-11-10 01:12:27 +02:00
`bash <(curl -fsSL https://api.nestri.io/install.sh)` with nothing after it now installs the host agent and hands over to onboarding without a token, and the agent signs in instead: it shows a code, and the machine is registered once that code is approved in a browser on any device. That removes the step of copying a command with a secret in it from the dashboard, and keeps a secret out of shell history. A token still works exactly as before and skips the browser; `-u`, `-h` and asking sudo for root are unchanged. With no token, NESTRI_INSTALL_TOKEN is left unset rather than set empty, and the re-run under sudo is passed no argument rather than an empty one.