RPF-WP-0065: simplify aal2 rollback commands
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Assistant: claude-code Assistant-Model: sonnet Assistant-Process: 328925@bnt-lap001 Assistant-Session: 14b795fd-c632-4c01-8d28-e7e490c7b0ed
This commit is contained in:
parent
2126457a16
commit
bca66d1d2e
1 changed files with 2 additions and 2 deletions
|
|
@ -126,8 +126,8 @@ Optionally record a receipt with `scripts/openbao-platform-admin-check.sh --rece
|
|||
Rollback (if step 4 fails, from the still-open session):
|
||||
|
||||
```bash
|
||||
git show HEAD:openbao/auth/netkingdom-platform-admin-role.json > /tmp/pa-role.new # post-change; for the old body use the commit before this workplan:
|
||||
git show "$(git log --format=%h -n1 --diff-filter=M -- openbao/auth/netkingdom-platform-admin-role.json)^:openbao/auth/netkingdom-platform-admin-role.json" > ~/.local/state/railiance/pa-role.prev.json
|
||||
# previous declaration = the file as of the parent of this workplan's commit
|
||||
git show 2126457^:openbao/auth/netkingdom-platform-admin-role.json > ~/.local/state/railiance/pa-role.prev.json
|
||||
grep -c assurance ~/.local/state/railiance/pa-role.prev.json # expect 0
|
||||
bao write auth/netkingdom/role/platform-admin @$HOME/.local/state/railiance/pa-role.prev.json
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue