Change //bmc/ to //${bmc}/
Changed the example calls from //bmc/ to //${bmc}/.
This is more obvious and users can set bmc to their bmc ip
and just copy/paste these example calls
Change-Id: Ic06ffeb232b12989f852985cce7dfe1480b7ee45
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/ubi-code-update.md b/ubi-code-update.md
index b1c694f..d416668 100644
--- a/ubi-code-update.md
+++ b/ubi-code-update.md
@@ -55,7 +55,7 @@
has its Activation property set to Ready, in this example it'd be `2a1022fe`:
```
- $ curl -b cjar -k https://bmc/xyz/openbmc_project/software/enumerate
+ $ curl -b cjar -k https://${bmc}/xyz/openbmc_project/software/enumerate
{
"data": {
"/xyz/openbmc_project/software/2a1022fe": {
@@ -90,7 +90,7 @@
curl -b cjar -k -H "Content-Type: application/json" -X PUT \
-d '{"data":
"xyz.openbmc_project.Software.Activation.RequestedActivations.Active"}' \
- https://bmc/xyz/openbmc_project/software/<id>/attr/RequestedActivation
+ https://${bmc}/xyz/openbmc_project/software/<id>/attr/RequestedActivation
```
5. (Optional) Check the flash progress. This interface is only available during
@@ -108,7 +108,7 @@
* Method 2: Using the REST API:
```
- curl -b cjar -k https://bmc/xyz/openbmc_project/software/<id>/attr/Progress
+ curl -b cjar -k https://${bmc}/xyz/openbmc_project/software/<id>/attr/Progress
```
### Implementation