Forum Discussion
Azure Image Builder & Windows 11
Adrián García MartinezHI yes - I already tried this approach but still didn't get it to work. The VM never comes back from a sysprep. I am not sure if this is a Win 11 Preview issue or not. As an aside, MS told me that they are looking at Gen 2 support in AIB towards the end of this year.
https://github.com/danielsollondon/azvmimagebuilder/issues/57#issuecomment-684935782
planetwilson, did you try to distribute to a VHD and then as a post deployment task get the VHD captured as a version to SIG?
- Adrián García MartinezOct 13, 2021Copper Contributor
I can confirm that it works. Its a bit cumbersome but once scripted it's the same...
You have to use a managed image as the source to your vm in the template, then distribute to a VHD ; this is an option within the template, just make sure not to delete the resource group as the VHD will be stored in the VHDS container of the temporary resource group storage account.
Once that is complete, create a managed image out of that VHD and then publish it to the SIG.
VMs deployed from that image version work perfectly fine.At least we do not need to wait for MSFT to release this feature! Let me know if its not clear and I will be happy to help you.
- Mikael LisshagenDec 13, 2022Copper ContributorThis is working native now. Just follow This guide. https://learn.microsoft.com/sv-se/azure/dev-box/how-to-customize-devbox-azure-image-builder