oz0 index refresh
Fetch the trusted indexes again, or the one named.
For: Operators and developers looking up a command.
Fetch the trusted indexes again, or the one named. With --file, the server takes that copy of index.json instead of fetching it: a mirror, for a cluster that cannot reach the index. A copy is kept only if a key its root certified signed it, it has not expired, and it is not older than the version the cluster has seen; a lower version is refused as a rollback. hub: installs also refresh a copy older than 10 minutes.
Cluster admins may.
Usage
oz0 index refresh [name] [flags]
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--file | string | a copy of the signed index.json to take instead of fetching it | |
--json | bool | print JSON instead of a table |
Inherited flags
| Flag | Type | Default | Description |
|---|---|---|---|
--context | string | $OZ0_CONTEXT or <config dir>/orchestrator-zero/context.json | CLI context file written by server init |
--log-level | string | info | log level: debug, info, warn or error |
See all oz0 commands and the global flags.