简体   繁体   English

在 Azure 中重置/重新配置虚拟机的操作系统?

[英]Reset/reprovision the operating system of a virtual machine in Azure?

I want to know that can we reset/reprovision the operating system of a virtual machine in Azure?我想知道我们可以在 Azure 中重置/重新配置虚拟机的操作系统吗? For example, let's say I created a ubuntu virtual machine, installed docker and some more stuff on it.例如,假设我创建了一个 ubuntu 虚拟机,安装了 docker 和其他一些东西。 Now I want to just get the factory ubuntu environment (the factory installation which was before installing docker and stuff).现在我只想获得工厂 ubuntu 环境(在安装 docker 之前的工厂安装)。 Is it possible?可能吗? (I don't want to delete and recreate the VM). (我不想删除并重新创建 VM)。 I explored a lot but couldn't found any way to do this.我探索了很多,但找不到任何方法来做到这一点。

You can use the VM Backup and create a backup at the point that you do not install the docker and stuff.您可以使用 VM 备份并在不安装 docker 之类的地方创建备份。 Then restores the VM to the point via the backup.然后通过备份将 VM 还原到该点。 If you do not create the backup, then you cannot restore the VM.如果不创建备份,则无法还原 VM。 The only thing you can do is to delete and recreate the VM to get the factory ubuntu environment.您唯一能做的就是删除并重新创建 VM 以获得工厂 ubuntu 环境。 Take a look at the Azure VM Backup to understand how does it work.查看Azure VM Backup以了解其工作原理。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法启动虚拟机-Azure门户错误 - Failed to start virtual machine - Azure Portal Error 从主机系统在虚拟机中运行命令 - Running a command in the virtual machine from host system 在windows azure中设置对Windows虚拟机的ssh或命令行访问 - Setting ssh or commandline access to windows virtual machine in windows azure 如何在Azure中连接到在Linux虚拟机上运行的mysql服务器 - how to connect to a mysql server running on a linux virtual machine in azure 为Azure云服务启用HTTPS(运行Linux Server的虚拟机) - Enable HTTPS for Azure cloud service (Virtual Machine running Linux Server) Kurento-WebRTC在Linux虚拟机Azure服务器上不起作用 - Kurento - WebRTC does not work on linux virtual machine azure server Azure上的Linux虚拟机 - 如何应用IP限制 - Linux Virtual Machine at Azure - how to apply IP restriction 在ARM板上安装操作系统? 调用端口地址会映射到真实地址还是虚拟地址? - When operating system is installed on ARM board ? Calling the address of port will map to real address or virtual address? 如果程序在虚拟机上运行,​​程序的系统执行时间是否会改变? - Does the system execution time of a program change if it's running on a virtual machine? 修改Linux内核中的系统调用并在虚拟机(不是模块)中重新编译 - modifying system call in Linux kernel and recompiling in a virtual machine (not a module)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM