Where variables come from
Every setting resolves through one list, and the first source that carries a valid value for it wins:- The machine policy file:
/etc/ori/config.json, or%ProgramData%\ori\config.jsonon Windows - A command-line flag, for the six update flags listed below
- The process environment, meaning whatever your shell exports
.ori/config.jsonin the working directory~/.ori/config.jsonin your home directory- Ori’s own default
--auto-update, --auto-update-restart, --update-interval,
--drain-timeout, --alpha, and --stable name a setting that also has a
variable, so those are the only flags in the list. Every other flag is an
argument to its command and does not take part.
A config file can carry an env object of plain strings, named fields, or
both. The two spellings feed the same setting:
0, and false as off, and any other value as on. 1 is the
conventional way to turn one on.
Updates and installation
Sign-in
Models and output
Terminal appearance
Files
Locking updates for a fleet
To ship Ori through your own tooling and stop users updating it themselves, write this to/etc/ori/config.json on each machine, or to
%ProgramData%\ori\config.json on Windows:
ori update with a message saying the installation is managed by your
organization. Use ORI_DISABLE_AUTOUPDATER instead if you want the background
updater quiet while users can still update by hand. Add "channel": "stable"
to the same file to hold the fleet on one channel, including against a
--alpha flag.