This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tsg-tsg-os-buildimage/ansible/roles/system-init-7400-mcn123/files/tsg-env_stop
luwenpeng 5fc20f3ebc fix TSG-7400 网卡重命名中的 bug
1.修改 vf 网卡的命名(将 eth_mgnt 改为 eth_pf.100);
	2.7400 禁用 NetworkManager(影响 udev 对网卡的重命名);
	3.修复 udev 模板文件的笔误
2021-06-03 14:52:43 +08:00

7 lines
133 B
Bash

#!/bin/bash
#
echo 0 >/sys/class/net/eth_pf/device/sriov_numvfs
ifconfig eth_pf.100 down
vconfig rem eth_pf.100
ifconfig eth_pf down