We’re using packer to generate images into our Azure subscription, this images then later get used to deploy VMs.
Right now this works very well with the v5 versions of VMs, but the images cannot be used with the newer v6 VMs.
This is due to the newer VMs requiring images with nvme support and packer does not create images that fulfill this requirement.
I looked through the documentations and Azure seems to require a feature flag for the disk controller, which is standard sci but for the new gen needs to be scsi, nvme
So far I have not found a workaround or have an idea how to even postprocess the image.
There’s probably/hopefully something I miss or overlooked, maybe someone got an idea and pointers for me
For reference/info:
-
We use “managed_image_name” to output the image, no image gallery (not permitted in the companies subscrription I got)
-
I tried with the latest Win11 as a base for my packer image. This base image can be used for v6 VMs. But the resulting packer image again has “lost” this ability