grant-bootstrap re-applies the granter and restarts failed policy units; setup treats a refused granting unit as not done
This commit is contained in:
parent
ae37c228b1
commit
c7d37ca455
1 changed files with 271 additions and 33 deletions
|
|
@ -333,8 +333,10 @@ enum BaoVerb {
|
|||
/// Reads the root token from a hidden prompt, or from stdin when stdin isn't
|
||||
/// a terminal; never from an argument or an environment variable. Writes
|
||||
/// the `bao-bootstrap` policy, places a 24h grant token for the granter unit
|
||||
/// and restarts it, so run it as root on the host running that unit. Says so
|
||||
/// and does nothing when the granter exists already.
|
||||
/// and restarts it, so run it as root on the host running that unit. When
|
||||
/// the granter exists already it runs the same steps again, which is how a
|
||||
/// change to the granter's policy reaches an existing store, then resets
|
||||
/// and restarts the failed `swarm-bao-*-policy` units.
|
||||
GrantBootstrap(bao::GrantBootstrapArgs),
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue