我已通过以下方式将hyper-v VHD上载到azure
this link
.
VHD映像在上载到azure之前已通用化。上载后,尝试使用上载的VHD映像创建VM,而VM在超时后未完成设置。查看VM的引导诊断,VM卡在产品密钥输入提示中。
.
记录以下错误:
New-AzureRmVM : Long running operation failed with status 'Failed'. Additional Info:'OS Provisioning for VM 'PSTACBUI'
did not finish in the allotted time. The VM may still finish provisioning successfully. Please check provisioning
state later. Also, make sure the image has been properly prepared (generalized).
* Instructions for Windows: https://azure.microsoft.com/documentation/articles/virtual-machines-windows-upload-image/
* Instructions for Linux: https://azure.microsoft.com/documentation/articles/virtual-machines-linux-capture-image/ '
ErrorCode: OSProvisioningTimedOut
ErrorMessage: OS Provisioning for VM 'PSTACBUI' did not finish in the allotted time. The VM may still finish
provisioning successfully. Please check provisioning state later. Also, make sure the image has been properly prepared
(generalized).
* Instructions for Windows: https://azure.microsoft.com/documentation/articles/virtual-machines-windows-upload-image/
* Instructions for Linux: https://azure.microsoft.com/documentation/articles/virtual-machines-linux-capture-image/
StartTime: 2/2/2018 11:04:08 PM
EndTime: 2/2/2018 11:50:59 PM
OperationID: 0a4f1ac8-9274-4fa8-b396-71c8eb690653
Status: Failed
At line:1 char:1
+ New-AzureRmVM -VM $vm -ResourceGroupName tacoud -Location $location
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [New-AzureRmVM], ComputeCloudException
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.Compute.NewAzureVMCommand
如何跳过多个VM部署的产品激活提示?