VM从azure VM映像启动并显示错误 [英] VM launched from azure VM image and showing error

查看:100
本文介绍了VM从azure VM映像启动并显示错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

配置失败。 VM'CRAStores-New'的操作系统配置未在指定的时间内完成。但是,检测到VM guest虚拟机代理正在运行。这表明客户操作系统尚未准备好用作VM映像(使用CreateOption = FromImage)。
要解决此问题,请按原样使用VHD并使用CreateOption = Attach或正确准备以用作图像:* Windows说明:https://azure.microsoft.com/documentation/articles/virtual- machines-windows-upload-image / * Linux说明:
https://azure.microsoft.com/documentation/articles/virtual-machines-linux-capture-image/。 OSProvisioningTimedOut

Provisioning failed. OS Provisioning for VM 'CRAStores-New' 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: * 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/. OSProvisioningTimedOut

推荐答案

HI,

如果我们创建一个图像,则需要对图像进行推广Azure VM也。我们需要登录到Windows的VM和Sysprep或运行  "waagent -deprovision + user"对于linux。

Generalizing the image is necessary if we create an image out of Azure VM also. We need to login to the VM and Sysprep for windows or run  "waagent -deprovision+user" for linux.

另请注意,此过程是不可逆转的。

Also note that this process is irreversible.

我希望您使用"捕获"功能。 azure Portal上的按钮,用于从VM创建am图像。

I hope you would have used the "Capture" button on azure Portal to create am image out of the VM.

如果您还没有使用过门户网站,请告诉我这些命令。

If you have not used the portal, Let me know the commands .

让我知道操作系统是Windows或Linux。

Also let me know the OS is windows or Linux.


这篇关于VM从azure VM映像启动并显示错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆