This repository has been archived on 2026-08-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
pve_toss_notes/6.PVE用模板克隆虚拟机.md
T

23 lines
1022 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## 1.克隆虚拟机
在上一篇文章 [5.PVE创建模板虚拟机](./5.PVE制作虚拟机模板.md) 中,我们已经制作好了虚拟机模板。
接下来将使用该模板克隆出新的虚拟机,并使用 Adguard Home 作为内网的 DNS 服务器。
鼠标 **右键单击** 虚拟机模板,在弹出的菜单中选择 `克隆`
![克隆虚拟机](img/Template/vm_clone.png)
在弹出的虚拟机克隆对话框中,根据实际情况及下方表格内容,修改虚拟机参数:
|参数|值|说明|
|--|--|--|
|目标节点|hyper|当前 PVE 服务器节点|
|VM ID|501|可自由定义,不能与现存虚拟机 `VM ID` 相同|
|名称|DNS001|可自由定义,`Cloud-Init` 将使用该名称作为虚拟机 `hostname` |
|模式|完整克隆|选择虚拟机的克隆模式|
|目标存储|local-lvm|克隆出的虚拟机文件存储位置|
![克隆虚拟机参数](img/Template/vm_clone_vmid.png)
参数修改完成后,点击 `克隆` 按钮即可使用该模板克隆出新的虚拟机。