You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue was originally opened by @alexsab1 as hashicorp/packer#6071. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.
Overview
Since version 1.2.2 packer supports building with additional disks.
I tested this new feature by creating a template that creates additional 127GB managed data disk. After I ran the template I found out that packer defaults certain values for data disks:
LUN is defaulted to 0. I assume that adding more disks will increment LUN to 1, 2, etc.
Caching is set to Read/Write on attached disks.
Problem
Once Azure Manager disk is created, it is not possible to change properties of the attached disk in the managed image. For example, Azure CLI does not offer commands to change property of data disk in managed image. Likewise, Azure Powershell, does not offer cmd-lets to change properties of data disk in managed image. I tired changing Lun via powershell in Azure Cloud Shell and received the following error
I need to change LUN from 0 to 1 on a single data disk created with the managed disk using packer version 1.2.2. This is the requirement of the Azure Scale Set infrastructure we run.
This issue was originally opened by @alexsab1 as hashicorp/packer#6071. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.
Overview
Since version 1.2.2 packer supports building with additional disks.
I tested this new feature by creating a template that creates additional 127GB managed data disk. After I ran the template I found out that packer defaults certain values for data disks:
Problem
Once Azure Manager disk is created, it is not possible to change properties of the attached disk in the managed image. For example, Azure CLI does not offer commands to change property of data disk in managed image. Likewise, Azure Powershell, does not offer cmd-lets to change properties of data disk in managed image. I tired changing Lun via powershell in Azure Cloud Shell and received the following error
Feature Requested
Enhance packer to allow setting LUN and cache value for data disks before creating managed image.
The text was updated successfully, but these errors were encountered: