# 创建并使用虚拟机模板

您可以在虚拟机的基础上创建模板。之后您可以使用这些模板创建多个相同的虚拟机。要创建虚拟机模板，您可以：

{% hint style="info" %}
\*\*注意：\*\*虚拟机模板仅在 Parallels Desktop for Mac Pro Edition 中有提供。
{% endhint %}

* 转换虚拟机为模板；或者
* 克隆虚拟机为模板。

这两种方式的不同点在于，当您转换虚拟机为模板时，在把模板转换回虚拟机之前您无法运行该虚拟机。而当您克隆虚拟机为模板时，模板则作为一个独立的实体，您可以运行两者。

一个模板也可以转换回或部署回虚拟机。当您转换模板时，它就会转变回虚拟机。而当您部署模板时，生成的虚拟机独立于模板，您则可以运行两者。

### **将虚拟机转换为模板**

要转换虚拟机为模板：

1. 启动 Parallels Desktop。
2. 在**控制中心**内，选择您想要转换的虚拟机（必须处于关闭状态），然后依次选择**文件** > **转换为模板**。

### **将模板转换为虚拟机**

要把模板转换回虚拟机：

1. 启动 Parallels Desktop。
2. 在**控制中心**内，右击您想要转换的模板，然后选择**转换为虚拟机**。

### **将虚拟机克隆为模板**

要克隆虚拟机为模板：

1. 启动 Parallels Desktop。
2. 在**控制中心**内，选择您想要克隆的虚拟机（必须处于关闭状态），然后依次选择**文件** > **克隆为模板**。
3. 选择您想要保存生成模板的位置。

   默认情况下，Parallels Desktop 会将模板存储在 `~/Parallels` 文件夹中。
4. 单击**保存**，以开始克隆虚拟机为模板。

### **将模板部署为虚拟机**

要把模板部署回虚拟机：

1. 启动 Parallels Desktop。
2. 在**控制中心**内，右击您想要部署的模板，然后选择**部署为虚拟机**。
3. 选择您想要保存生成虚拟机的位置。

   默认情况下，Parallels Desktop 将虚拟机保存在 `~/Parallels` 文件夹中。
4. 单击**保存**，以开始部署模板为虚拟机。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.parallels.cn/pdfm-20-ug-zh_cn/parallels-desktop-for-mac-20-yong-hu-zhi-nan/gao-ji-zhu-ti/shi-yong-xu-ni-ji/chuang-jian-bing-shi-yong-xu-ni-ji-mu-ban.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
