mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 22:12:51 +08:00
适配 trixie 版本
This commit is contained in:
+4
-4
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
该虚拟机模板主要用作内网 DNS 服务器,由 `Adguard Home` 或 `SmartDNS` 提供 DNS 解析服务。
|
该虚拟机模板主要用作内网 DNS 服务器,由 `Adguard Home` 或 `SmartDNS` 提供 DNS 解析服务。
|
||||||
|
|
||||||
本文将使用 Debian 的云镜像 `debian-12-generic-amd64.qcow2` 作为模板虚拟机的镜像。
|
本文将使用 Debian 的云镜像 `debian-13-generic-amd64.qcow2` 作为模板虚拟机的镜像。
|
||||||
|
|
||||||
访问 [Debian Official Cloud Images](https://cloud.debian.org/images/cloud/) 官方网站,下载最新版 `Trixie` 云镜像以及对应的校验文件。
|
访问 [Debian Official Cloud Images](https://cloud.debian.org/images/cloud/) 官方网站,下载最新版 `Trixie` 云镜像以及对应的校验文件。
|
||||||
|
|
||||||
@@ -116,14 +116,14 @@ $ ls -lah
|
|||||||
$ cat SHA512SUMS
|
$ cat SHA512SUMS
|
||||||
|
|
||||||
## 计算文件 hash
|
## 计算文件 hash
|
||||||
$ sha512sum debian-12-generic-amd64.qcow2
|
$ sha512sum debian-13-generic-amd64.qcow2
|
||||||
```
|
```
|
||||||
|
|
||||||
确认无误后,将镜像文件导入刚才创建的虚拟机,命令中的 `VM ID` 需要根据实际情况替换,演示为 `1001` 。
|
确认无误后,将镜像文件导入刚才创建的虚拟机,命令中的 `VM ID` 需要根据实际情况替换,演示为 `1001` 。
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
## 将 qcow2 镜像导入虚拟机中
|
## 将 qcow2 镜像导入虚拟机中
|
||||||
$ qm importdisk 1001 debian-12-generic-amd64.qcow2 local-lvm
|
$ qm importdisk 1001 debian-13-generic-amd64.qcow2 local-lvm
|
||||||
|
|
||||||
#### 镜像导入示例输出
|
#### 镜像导入示例输出
|
||||||
unused0: successfully imported disk 'local-lvm:vm-1001-disk-0'
|
unused0: successfully imported disk 'local-lvm:vm-1001-disk-0'
|
||||||
@@ -260,7 +260,7 @@ IPv6 使用静态地址后,并不影响虚拟机通过主路由获取公网 GU
|
|||||||
```bash
|
```bash
|
||||||
### 服务器信息
|
### 服务器信息
|
||||||
|
|
||||||
- 系统: Debian12
|
- 系统: Debian 13
|
||||||
|
|
||||||
- 用途: 内网 DNS 服务器 ( 模板 )
|
- 用途: 内网 DNS 服务器 ( 模板 )
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 499 KiB After Width: | Height: | Size: 664 KiB |
Reference in New Issue
Block a user