当前仓库属于关闭状态,部分功能使用受限,详情请查阅 仓库状态说明
9 Star 0 Fork 2

src-openEuler / NutShell-systemd
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
udev-56-net-sriov-names.rules 622 Bytes
AI 代码解读
一键复制 编辑 原始数据 按行查看 历史
# do not edit this file, it will be overwritten on update
#
# rename SRIOV virtual function interfaces
ACTION=="remove", GOTO="net-sriov-names_end"
# when net.ifnames=0 is not set in command line ,do not generate net-name rules
IMPORT{cmdline}="net.ifnames"
ENV{net.ifnames}!="0",SUBSYSTEMS=="pci", GOTO="net-sriov-names_end"
SUBSYSTEM=="net", SUBSYSTEMS=="pci", ACTION=="add", NAME=="?*", ENV{INTERFACE_NEW}="$name"
SUBSYSTEM=="net", SUBSYSTEMS=="pci", ACTION=="add", IMPORT{program}="net-set-sriov-names"
# rename interface if needed
ENV{INTERFACE_NEW}=="?*", NAME="$env{INTERFACE_NEW}"
LABEL="net-sriov-names_end"
1
https://gitee.com/src-openeuler/NutShell-systemd.git
git@gitee.com:src-openeuler/NutShell-systemd.git
src-openeuler
NutShell-systemd
NutShell-systemd
master

搜索帮助