Skip to content

Commit

Permalink
docs: add token usage
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <[email protected]>
  • Loading branch information
glimchb authored Apr 1, 2024
1 parent 6def723 commit b46e204
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ See [CONTRIBUTING](https://github.com/opiproject/opi/blob/main/CONTRIBUTING.md)

## Getting started

using docker
using user/pass

```bash
docker run --rm -it ghcr.io/opiproject/ansible-opi-dpu:main all --module-name include_role --args name=bmc_fw_update -vvv -i "10.10.10.1," -e dpu_bmc_username='root' -e dpu_bmc_password='123456'
Expand All @@ -44,3 +44,14 @@ or
docker run --rm -it --entrypoint ansible-playbook -v $(pwd):/opt -w /opt/roles ghcr.io/opiproject/ansible-opi-dpu:main ../playbooks/firmware.yml -vvv -i "10.10.10.1," -e dpu_bmc_username='root' -e dpu_bmc_password='123456'
```

using token

```bash
docker run --rm -it ghcr.io/opiproject/ansible-opi-dpu:main all --module-name include_role --args name=bmc_fw_update -vvv -i "10.10.10.1," -e dpu_bmc_token='QVEqXaooTXAiMNvjqSiI'
or
docker run --rm -it --entrypoint ansible-playbook ghcr.io/opiproject/ansible-opi-dpu:main ../playbooks/firmware.yml -vvv -i "10.10.10.1," -e dpu_bmc_token='QVEqXaooTXAiMNvjqSiI'
or
docker run --rm -it --entrypoint ansible-playbook -v $(pwd):/opt -w /opt/roles ghcr.io/opiproject/ansible-opi-dpu:main ../playbooks/firmware.yml -vvv -i "10.10.10.1," -e dpu_bmc_token='QVEqXaooTXAiMNvjqSiI'
```


0 comments on commit b46e204

Please sign in to comment.