Forum Discussion
Doubts about template lifecycle and how to update existing host pools
Hi,
I have a doubt about gallery template deployment.
I think that all admins want thave a template (Golden image). If I create a host pool from gallery how can i convert it as template? I mean, I create first VM from Gallery and later deploy rest of VMs with Custom VHD (using VHD of VM created from gallery)? What do you think about it?
I would like to apply Windows Update and software installation periodically in template and later update existing host pool.
I'm used to working like this at Citrix and I don't know if WVD works in a similar way.
Thanks,
3 Replies
- mark--Copper Contributor
Hi manuelpflx
It is possible to use custom images for you WVD host deployment. Check this: https://docs.microsoft.com/en-us/azure/virtual-desktop/set-up-customize-master-image
or this
https://www.anoopcnair.com/wvd-custom-image-creation-using-windows-10/
I do it like that:
- Prepare custom image (install patches / software whatever)
- Snapshot the custom image (in my case an windows 10 multi-user vm in azure)
- Sysprep
- Capture image in azure
- Redeploy WVD pool with image
- in future changes, lets say new patches -> restore snapshot and repeat steps
hope this helps.
Cheers
Mark
- manuelpflxCopper Contributor
Hi,
I tried the steps and I create a host pool with new changes in template. New issue is I cannot edit template after capture VM. Azure portal shows following message:
This VM is generalized. VM disk settings cannot be edited on generalized VMs.
How can I restore snapshot in template after it's "captured"?
Regards.
- manuelpflxCopper Contributor