更新网卡配置代码

This commit is contained in:
秋刀狐狸
2022-08-08 07:57:34 +00:00
committed by Gitee
parent c76b138b03
commit 7ac0134387
+2 -1
View File
@@ -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 ## 在这行前面增加注释符 # 来注释
···
```
将配置保存后,可以将模板虚拟机重启。