Skip to content

Commit b7454ce

Browse files
Merge pull request #278713 from mimckitt/patch-130
Update custom-data.md
2 parents 3a0a869 + 0e9c243 commit b7454ce

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

articles/virtual-machines/custom-data.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212

1313
# Custom data and cloud-init on Azure Virtual Machines
1414

15-
> [!CAUTION]
16-
> This article references CentOS, a Linux distribution that is nearing End Of Life (EOL) status. Please consider your use and plan accordingly. For more information, see the [CentOS End Of Life guidance](~/articles/virtual-machines/workloads/centos/centos-end-of-life.md).
17-
1815
**Applies to:** :heavy_check_mark: Linux VMs :heavy_check_mark: Windows VMs :heavy_check_mark: Flexible scale sets
1916

2017
You might need to inject a script or other metadata into a Microsoft Azure virtual machine (VM) at provisioning time. In other clouds, this concept is often called *user data*. Microsoft Azure has a similar feature called *custom data*.
@@ -29,8 +26,8 @@ In the CLI, you can pass your custom data as a file, as the following example sh
2926
```azurecli
3027
az vm create \
3128
--resource-group myResourceGroup \
32-
--name centos74 \
33-
--image OpenLogic:CentOS-CI:7-CI:latest \
29+
--name myVM \
30+
--image Ubuntu2204 \
3431
--custom-data cloud-init.txt \
3532
--generate-ssh-keys
3633
```

0 commit comments

Comments
 (0)