Skip to content

Commit 30279a4

Browse files
authored
Merge pull request #195303 from VikasPullagura-MSFT/patch-233
(Azure CXP) resolves MicrosoftDocs/azure-docs#91651
2 parents 14a000f + 05a8e14 commit 30279a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

includes/virtual-machines-imds.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Invoke-RestMethod -Headers @{"Metadata"="true"} -Method GET -NoProxy -Uri "http:
4343
#### [Linux](#tab/linux/)
4444

4545
```bash
46-
curl -s Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance?api-version=2021-02-01" | jq
46+
curl -s -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance?api-version=2021-02-01" | jq
4747
```
4848

4949
The `jq` utility is available in many cases, but not all. If the `jq` utility is missing, use `| python -m json.tool` instead.
@@ -203,7 +203,7 @@ Invoke-RestMethod -Headers @{"Metadata"="true"} -Method GET -NoProxy -Uri "http:
203203
#### [Linux](#tab/linux/)
204204

205205
```bash
206-
curl -s Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance?api-version=2017-08-01&format=text"
206+
curl -s -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance?api-version=2017-08-01&format=text"
207207
```
208208

209209
---

0 commit comments

Comments
 (0)