mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 22:12:51 +08:00
update 4.PVE制作虚拟机模板.md.
This commit is contained in:
@@ -37,3 +37,43 @@
|
|||||||
在固件处需要针对 `UEFI` 进行调整,BIOS 选择 `OVMF (UEFI)` ,勾选 `添加EFI磁盘` ,EFI 存储选择 `local-lvm` :
|
在固件处需要针对 `UEFI` 进行调整,BIOS 选择 `OVMF (UEFI)` ,勾选 `添加EFI磁盘` ,EFI 存储选择 `local-lvm` :
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
### 1.4.磁盘
|
||||||
|
|
||||||
|
一般情况下,如果该虚拟机仅为 ADH 服务器,`16G` 的磁盘空间足够使用。
|
||||||
|
|
||||||
|
由于使用 Cloud Image 制作虚拟机模板,此处删除所有磁盘:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### 1.5.CPU
|
||||||
|
|
||||||
|
CPU类别选择 `host` ,核心根据物理 CPU 核心数进行酌情设置,推荐启用 `NUMA` :
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### 1.6.内存
|
||||||
|
|
||||||
|
内存一般 2G 足够使用,关闭 `Ballooning` 设备选项:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### 1.7.网络
|
||||||
|
|
||||||
|
在 PVE 的 [网络设置](https://gitee.com/callmer/pve_toss_notes/blob/master/1.PVE初始化配置.md#3配置-pve-网桥和管理网口) 中,曾创建了一个没有桥接任何物理网口的内部网桥。
|
||||||
|
|
||||||
|
并且该网桥接口为主路由 RouterOS 的 LAN 的成员接口。
|
||||||
|
|
||||||
|
因此 Debian 虚拟机的网络设备选择该内部网桥即可,演示环境为 `vmbr4` :
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
取消网口的 `防火墙` ,并根据虚拟机 vCPU 数,指定 `Multiqueue` 的数量,演示环境为 `2` :
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### 1.8.确认
|
||||||
|
|
||||||
|
接下来查看设置总览,确认无误,即可点击 “完成” :
|
||||||
|
|
||||||
|

|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 125 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 214 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 62 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 77 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 126 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 99 KiB |
Reference in New Issue
Block a user