Fix extra backticks in host code update documentation
Change-Id: Ibaf080a36ec0300708c777e01f3488cb0b7f83bc
Signed-off-by: Charles Paul Hofer <Charles.Hofer@ibm.com>
diff --git a/code-update.md b/code-update.md
index 5b8c772..ceb1578 100644
--- a/code-update.md
+++ b/code-update.md
@@ -212,11 +212,11 @@
* Method 3: Via TFTP: Perform a POST request to call the `DownloadViaTFTP`
method of `/xyz/openbmc_project/software`.
- ```
- curl -b cjar -k -H "Content-Type: application/json" -X POST \
- -d '{"data": ["<filename>", "<TFTP server IP address"]}' \
- https://bmc/xyz/openbmc_project/software/action/DownloadViaTFTP
- ```
+ ```
+ curl -b cjar -k -H "Content-Type: application/json" -X POST \
+ -d '{"data": ["<filename>", "<TFTP server IP address"]}' \
+ https://bmc/xyz/openbmc_project/software/action/DownloadViaTFTP
+ ```
3. Note the version id generated for that image file, which is a hash value of 8
hexadecimal numbers generated by the C++ function std::hash using the version
@@ -226,23 +226,23 @@
* Method 1: From the BMC command line, note the most recent directory name
created under `/tmp/images/`, in this example it'd be `2a1022fe`:
- ```
- # ls -l /tmp/images/
- total 0
- drwx------ 2 root root 80 Aug 22 07:54 2a1022fe
- drwx------ 2 root root 80 Aug 22 07:53 488449a2
- ```
+ ```
+ # ls -l /tmp/images/
+ total 0
+ drwx------ 2 root root 80 Aug 22 07:54 2a1022fe
+ drwx------ 2 root root 80 Aug 22 07:53 488449a2
+ ```
* Method 2: Using the REST API, note the object that 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
- {
- "data": {
- "/xyz/openbmc_project/software/2a1022fe": {
- "Activation": "xyz.openbmc_project.Software.Activation.Activations.Ready",
- ```
+ ```
+ $ curl -b cjar -k https://bmc/xyz/openbmc_project/software/enumerate
+ {
+ "data": {
+ "/xyz/openbmc_project/software/2a1022fe": {
+ "Activation": "xyz.openbmc_project.Software.Activation.Activations.Ready",
+ ```
4. To initiate the update, set the `RequestedActivation` property of the desired
image to `Active`, substitute ``<id>`` with the hash value noted on the previous