Skip to content

Commit cae992e

Browse files
authored
Merge pull request #79572 from Karishma-Tiwari-MSFT/patch-73
(ForumsTeam) fixes MicrosoftDocs/azure-docs#33272
2 parents 702cb36 + bd11828 commit cae992e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/virtual-machines/linux/tutorial-manage-disks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ To create and attach a new disk to an existing virtual machine, use the [az vm d
103103
az vm disk attach \
104104
--resource-group myResourceGroupDisk \
105105
--vm-name myVM \
106-
--disk myDataDisk \
106+
--name myDataDisk \
107107
--size-gb 128 \
108108
--sku Premium_LRS \
109109
--new
@@ -252,7 +252,7 @@ Use the [az vm disk attach](/cli/azure/vm/disk#az-vm-disk-attach) command to att
252252
az vm disk attach \
253253
–g myResourceGroupDisk \
254254
--vm-name myVM \
255-
--disk $datadisk
255+
--name $datadisk
256256
```
257257

258258
## Next steps

0 commit comments

Comments
 (0)