File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
articles/virtual-machines/linux Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -135,12 +135,12 @@ az vm create -g $rgName -n $vmName -l $location --image $image --size $vmSize --
135
135
#### Create a virtual machine scale set using a Marketplace image, encrypting the OS and data disks with customer-managed keys
136
136
137
137
``` azurecli
138
- rgName=ssecmktesting
139
- vmssName=ssecmktestvmss5
138
+ rgName=yourResourceGroupName
139
+ vmssName=yourVMSSName
140
140
location=WestCentralUS
141
141
vmSize=Standard_DS3_V2
142
142
image=UbuntuLTS
143
- diskEncryptionSetName=diskencryptionset786
143
+ diskEncryptionSetName=yourDiskencryptionSetName
144
144
145
145
diskEncryptionSetId=$(az disk-encryption-set show -n $diskEncryptionSetName -g $rgName --query [id] -o tsv)
146
146
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
You can’t perform that action at this time.
0 commit comments