Creating Azure VM from custom image

时间秒杀一切 提交于 2019-12-08 02:43:34

'OS Provisioning for VM 'vmName' did not finish in the allotted time. However, the VM guest agent was detected running. This suggests the guest OS has not been properly prepared to be used as a VM image (with CreateOption=FromImage). To resolve this issue, either use the VHD as is with CreateOption=Attach or prepare it properly for use as an image

If you are using the image that is not sysprepped to create VM, it could cause the error, so please make sure your image is sysprepped.

Cannot attach an existing OS disk if the VM is created from a platform or user image.

When you specify CreateOption to Attach ( it will create a virtual machine from a specialized disk), do not specify the SourceImageUri parameter. For more information, please check “-CreateOption” from this documentation.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!