Forum Discussion
manuelpflx
Jan 28, 2020Copper Contributor
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 ...
mark--
Jan 29, 2020Copper 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
manuelpflx
Feb 02, 2020Copper 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.