5

centos 系统如何永远禁止网卡随系统启动

 2 years ago
source link: https://www.v2ex.com/t/781470
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

V2EX  ›  Linux

centos 系统如何永远禁止网卡随系统启动

  ling516 · 1 天前 · 789 次点击

修改网卡配置文件 NOBOOT=no none 也试了 不行

6 条回复    2021-06-06 00:59:50 +08:00

kokutou

kokutou   1 天前 via Android

nmtui

jim9606

jim9606   1 天前

啥叫禁止网卡随系统启动?
如果希望网卡处于 unmanaged 状态,/etc/network/interfaces 移除所有 auto 及 allow-hotplug 方法

Tink

Tink   1 天前 via Android

把 interfaces 文件重命名一下

vk42

vk42   1 天前

直接把网卡驱动 blacklist?

Judoon

Judoon   1 天前

ONBOOT=no
不是 NOBOOT
有可能是 NetworkManager 接管了, 可以试试加上 NM_CONTROLLED=no

xcstream

xcstream   20 小时 21 分钟前

物理拔网线

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK