Skip to content

Commit a425129

Browse files
Merge pull request #234770 from msaenzbosupport/patch-11
[Doc-A-THon] Adding an important noted
2 parents d3696d3 + cf3d168 commit a425129

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

articles/virtual-machine-scale-sets/disk-encryption-cli.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,17 @@ az group create --name myResourceGroup --location eastus
2929

3030
Now create a Virtual Machine Scale Set with [az vmss create](/cli/azure/vmss). The following example creates a scale set named *myScaleSet* that is set to automatically update as changes are applied, and generates SSH keys if they don't exist in *~/.ssh/id_rsa*. A 32-Gb data disk is attached to each VM instance, and the Azure [Custom Script Extension](../virtual-machines/extensions/custom-script-linux.md) is used to prepare the data disks with [az vmss extension set](/cli/azure/vmss/extension):
3131

32+
> [!IMPORTANT]
33+
> Make sure to select supported Operating System with ADE.
34+
> [Supported OS for ADE](/azure/virtual-machines/linux/disk-encryption-overview#supported-operating-systems).
35+
3236
```azurecli-interactive
3337
# Create a scale set with attached data disk
3438
az vmss create \
3539
--resource-group myResourceGroup \
3640
--name myScaleSet \
3741
--orchestration-mode Flexible \
38-
--image UbuntuLTS \
42+
--image <SKU Linux Image> \
3943
--upgrade-policy-mode automatic \
4044
--admin-username azureuser \
4145
--generate-ssh-keys \
@@ -135,7 +139,7 @@ az vmss encryption show --resource-group myResourceGroup --name myScaleSet
135139

136140
When VM instances are encrypted, the status code reports *EncryptionState/encrypted*, as shown in the following example output:
137141

138-
```console
142+
```output
139143
[
140144
{
141145
"disks": [

0 commit comments

Comments
 (0)