mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 14:02:53 +08:00
update 5.PVE制作虚拟机模板.md.
This commit is contained in:
+2
-2
@@ -130,13 +130,13 @@ sudo nano /etc/network/interfaces
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
## 网卡配置文件示例
|
## 网卡配置文件示例
|
||||||
···
|
|
||||||
# Cloud images dynamically generate config fragments for newly
|
# Cloud images dynamically generate config fragments for newly
|
||||||
# attached interfaces. See /etc/udev/rules.d/75-cloud-ifupdown.rules
|
# attached interfaces. See /etc/udev/rules.d/75-cloud-ifupdown.rules
|
||||||
# and /etc/network/cloud-ifupdown-helper. Dynamically generated
|
# and /etc/network/cloud-ifupdown-helper. Dynamically generated
|
||||||
# configuration fragments are stored in /run:
|
# configuration fragments are stored in /run:
|
||||||
# source-directory /run/network/interfaces.d ## 在这行前面增加注释符 # 来注释
|
# source-directory /run/network/interfaces.d ## 在这行前面增加注释符 # 来注释
|
||||||
···
|
|
||||||
```
|
```
|
||||||
|
|
||||||
将配置保存后,可以将模板虚拟机重启。
|
将配置保存后,可以将模板虚拟机重启。
|
||||||
|
|||||||
Reference in New Issue
Block a user