Skip to content

Commit 7a6047c

Browse files
authored
Merge pull request #102068 from roygara/scriptFixes
Script bugfixes
2 parents 49ac68e + 1dcf847 commit 7a6047c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/virtual-machines/linux/disk-encryption.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,12 @@ az vm create -g $rgName -n $vmName -l $location --image $image --size $vmSize --
135135
#### Create a virtual machine scale set using a Marketplace image, encrypting the OS and data disks with customer-managed keys
136136

137137
```azurecli
138-
rgName=ssecmktesting
139-
vmssName=ssecmktestvmss5
138+
rgName=yourResourceGroupName
139+
vmssName=yourVMSSName
140140
location=WestCentralUS
141141
vmSize=Standard_DS3_V2
142142
image=UbuntuLTS
143-
diskEncryptionSetName=diskencryptionset786
143+
diskEncryptionSetName=yourDiskencryptionSetName
144144
145145
diskEncryptionSetId=$(az disk-encryption-set show -n $diskEncryptionSetName -g $rgName --query [id] -o tsv)
146146
az vmss create -g $rgName -n $vmssName --image UbuntuLTS --upgrade-policy automatic --admin-username azureuser --generate-ssh-keys --os-disk-encryption-set $diskEncryptionSetId --data-disk-sizes-gb 64 128 --data-disk-encryption-sets $diskEncryptionSetId $diskEncryptionSetId

0 commit comments

Comments
 (0)