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