1 Star 0 Fork 89

hexiaowen / systemd

forked from src-openEuler / systemd 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
udev-56-net-sriov-names.rules 622 Bytes
一键复制 编辑 原始数据 按行查看 历史
hexiaowen 提交于 2019-09-30 11:17 . Package init
# 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/overweight/systemd.git
git@gitee.com:overweight/systemd.git
overweight
systemd
systemd
master

搜索帮助