Add FCoE rules to fix env renaming

Add a special rule for fcoe devices to reuse ID and net_name
to avoid renaming issues in bootstrap.

Change-Id: I40c699b37199f93bfdf0157d0eb795b735254990
Closes-bug: #1656892
This commit is contained in:
Vladimir Kuklin 2017-01-18 15:32:38 +03:00
parent 22ca160fdf
commit 9ea6419878
1 changed files with 2 additions and 0 deletions

View File

@ -15,4 +15,6 @@ LABEL="net_name_onboard_end"
NAME=="", ENV{ID_NET_NAME_SLOT}!="", NAME="$env{ID_NET_NAME_SLOT}"
NAME=="", ENV{ID_NET_NAME_PATH}!="", NAME="$env{ID_NET_NAME_PATH}"
ENV{DEVTYPE}=="fcoe", ENV{ID_NET_NAME_PATH}!="", NAME="$env{ID_NET_NAME_PATH}"
LABEL="net_name_slot_end"