Skip to content

Commit 1378c22

Browse files
Merge pull request #115164 from ju-shim/m-linux
Gen 2 updates to linux and windows
2 parents 687d767 + 8e40e48 commit 1378c22

File tree

2 files changed

+19
-15
lines changed

2 files changed

+19
-15
lines changed

articles/virtual-machines/linux/generation-2.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ Generation 1 VMs are supported by all VM sizes in Azure (except for Mv2-series V
3030
* [HB-series](../hb-series.md)
3131
* [HC-series](../hc-series.md)
3232
* [Ls-series](https://docs.microsoft.com/azure/virtual-machines/linux/sizes-previous-gen#ls-series) and [Lsv2-series](../lsv2-series.md)
33-
* [Mv2-series](../mv2-series.md)
33+
* [M-series](../m-series.md)
34+
* [Mv2-series](../mv2-series.md)<sup>1</sup>
3435
* [NCv2-series](../ncv2-series.md) and [NCv3-series](../ncv3-series.md)
3536
* [ND-series](../nd-series.md)
3637
* [NVv3-series](../nvv3-series.md)
3738

38-
> [!NOTE]
39-
> The usage of generation 2 VM images for Mv2-series VMs is generally available since the Mv2-series works with generation 2 VM images exclusively. Generation 1 VM images are not supported on Mv2-series VMs.
39+
<sup>1</sup> Mv2-series does not support Generation 1 VM images and only support a subset of Generation 2 images. Please see [Mv2-series documentation](https://docs.microsoft.com/azure/virtual-machines/mv2-series) for details.
4040

4141
## Generation 2 VM images in Azure Marketplace
4242

@@ -117,12 +117,6 @@ For example, use the following PowerShell cmdlet to get a list of the SKUs in th
117117
Get-AzVMImageSku -Location westus2 -PublisherName MicrosoftWindowsServer -Offer WindowsServer
118118
```
119119

120-
Alternatively, you can use the Azure CLI to see any available generation 2 images, listed by **Publisher**.
121-
122-
```azurecli
123-
az vm image list --publisher Canonical --sku gen2 --output table --all
124-
```
125-
126120
If you're creating a VM with Windows Server 2012 as the OS, then you will select either the generation 1 (BIOS) or generation 2 (UEFI) VM SKU, which look like this:
127121

128122
```powershell
@@ -132,6 +126,14 @@ If you're creating a VM with Windows Server 2012 as the OS, then you will select
132126

133127
See the [Features and capabilities](#features-and-capabilities) section for a current list of supported Marketplace images.
134128

129+
#### Azure CLI
130+
131+
Alternatively, you can use the Azure CLI to see any available generation 2 images, listed by **Publisher**.
132+
133+
```azurecli
134+
az vm image list --publisher Canonical --sku gen2 --output table --all
135+
```
136+
135137
### Managed image or managed disk
136138

137139
You can create a generation 2 VM from a managed image or managed disk in the same way you would create a generation 1 VM.

articles/virtual-machines/windows/generation-2.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,6 @@ For example, use the following PowerShell cmdlet to get a list of the SKUs in th
123123
Get-AzVMImageSku -Location westus2 -PublisherName MicrosoftWindowsServer -Offer WindowsServer
124124
```
125125

126-
Alternatively, you can use the Azure CLI to see any available generation 2 images, listed by **Publisher**.
127-
128-
```azurecli
129-
az vm image list --publisher Canonical --sku gen2 --output table --all
130-
```
131-
132126
If you're creating a VM with Windows Server 2012 as the OS, then you will select either the generation 1 (BIOS) or generation 2 (UEFI) VM SKU, which looks like this:
133127

134128
```powershell
@@ -138,6 +132,14 @@ If you're creating a VM with Windows Server 2012 as the OS, then you will select
138132

139133
See the [Features and capabilities](#features-and-capabilities) section for a current list of supported Marketplace images.
140134

135+
#### Azure CLI
136+
137+
Alternatively, you can use the Azure CLI to see any available generation 2 images, listed by **Publisher**.
138+
139+
```azurecli
140+
az vm image list --publisher Canonical --sku gen2 --output table --all
141+
```
142+
141143
### Managed image or managed disk
142144

143145
You can create a generation 2 VM from a managed image or managed disk in the same way you would create a generation 1 VM.

0 commit comments

Comments
 (0)