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
|
|
@ -306,6 +306,8 @@ let
|
|||
# What a granting unit prints when the store refuses the granter: the
|
||||
# one-time step, runnable as root on this host.
|
||||
granterSetupSteps = [
|
||||
"swarmctl bao grant-bootstrap # does all of the following, and is also the re-apply after a policy change"
|
||||
"# on a host without swarmctl, run these instead:"
|
||||
"read -rs BAO_TOKEN && export BAO_TOKEN # the root token from 'bao operator init'"
|
||||
"bao policy write bao-bootstrap /etc/hyperhive/bao-bootstrap-policy.hcl"
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue