Azure Created Image Without Generalizing
我有同样的问题,在这个问题中提到过。有问题的博客 URL 也不起作用。如果您能解决这个问题,任何人都可以帮助我吗?
最佳答案
简而言之,您无法将旧通用虚拟机的状态更改为正在运行。阅读 here 。此外,该链接指出您可以从存储帐户中的快照或托管磁盘或 VHD 创建托管镜像,然后您可以从托管镜像创建 VM。
After you have run Sysprep on a VM, that VM is considered generalized and cannot be restarted. The process of generalizing a VM is not reversible. If you need to keep the original VM functioning, you should create a copy of the VM and generalize its copy.
在这种情况下,如果您没有副本,您可以从原始操作系统磁盘创建一个 VM 作为镜像,然后您可以使用原始凭据登录到新的 Azure VM。由于VM使用虚拟硬盘(VHD)来存储其操作系统(OS)和数据。 VHD 还用于您可以选择安装操作系统的镜像。
- 确保磁盘状态为未连接。
- 点击创建虚拟机以从此操作系统磁盘创建虚拟机。
更多详情,您可以引用create a VM from a VHD by using the Azure portal .
关于azure - 在通用化之前创建了 Azure VM 的镜像,但无法启动该 VM,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54087076/