plugins icon indicating copy to clipboard operation
plugins copied to clipboard

host-device: wrong interface naming

Open wizath opened this issue 1 year ago • 0 comments

   "cniVersion": "0.4.0",
   "name": "test",
   "plugins": [
      {
         "type": "host-device",
	 "device": "vxcan1"
      },

I'm trying to move vxcan1 interface to alpine:3.18 container, but upon entering the container shell, the device is named eth0 Below is dmesg log indicating renaming of the interface:

[ 5669.641031] eth0: renamed from vxcan1

It works fine, but the naming is wrong. Any ideas how to fix it ?

wizath avatar Jul 06 '23 14:07 wizath