Skip to content

Commit edabbaa

Browse files
author
naman-msft
committedMar 12, 2025·
updated documentation
1 parent 42f76a8 commit edabbaa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎scenarios/azure-compute-docs/articles/virtual-machine-scale-sets/tutorial-modify-scale-sets-cli.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,8 @@ az vmss create \
199199
--admin-username azureuser \
200200
--generate-ssh-keys \
201201
--instance-count 5 \
202-
--os-disk-size-gb 64
202+
--os-disk-size-gb 64 \
203+
--admin-username azureuser
203204
```
204205

205206
## Updating individual VM instances in a scale set
@@ -320,7 +321,7 @@ Running [az vm show](/cli/azure/vm#az-vm-show) again, we now will see that the V
320321
There are times where you might want to add a new VM to your scale set but want different configuration options than those listed in the scale set model. VMs can be added to a scale set during creation by using the [az vm create](/cli/azure/vmss#az-vmss-create) command and specifying the scale set name you want the instance added to.
321322

322323
```azurecli-interactive
323-
az vm create --name $NEW_INSTANCE_NAME --resource-group $MY_RESOURCE_GROUP_NAME --vmss $SCALE_SET_NAME --image RHELRaw8LVMGen2
324+
az vm create --name $NEW_INSTANCE_NAME --resource-group $MY_RESOURCE_GROUP_NAME --vmss $SCALE_SET_NAME --image RHELRaw8LVMGen2 --admin-username azureuser
324325
```
325326

326327
```output

0 commit comments

Comments
 (0)
Please sign in to comment.