Change interface names using multiple networks?

12 views
Skip to first unread message

Dale Dude

unread,
Oct 12, 2017, 8:35:58 AM10/12/17
to rkt-dev
I'm using multiple network via --net=private,public and looking to change the name of each interface from eth0, eth1, etc.... 

There is the args capability but it seems to only allow IP.
  --net=private:IP=10.1.1.1,public

There is the CNI_IFNAME environment variable but only work with a single interface.
  CNF_IFNAME=private-int rkt run ...

Is there some doc I missed that would allow changing the interface name for both networks such as...
  --net=private:ifname=priv-int,public:ifname=pub-int

thanks

dale
  
Reply all
Reply to author
Forward
0 new messages