Mike Wright
2018-08-21 01:40:11 UTC
Hi all,
Is there a way to set a network device's host side name?
e.g. with lxc style configs:
#myContainer
lxc.net.0.type = veth
lxc.net.0.veth.pair = host-side-name
lxc.net.0.link = myBridge
brctl show myBridge
myBridge 8000.025134e8ffad no host-side-name
so that this happens
myBridge -> host-side-name === myContainer -> eth0
instead of
myBridge -> veth9OXS8PAW === myContainer -> eth0
I know that I can change the name after the fact using iproute2 but
automated is better.
Thanks,
Mike Wright
Is there a way to set a network device's host side name?
e.g. with lxc style configs:
#myContainer
lxc.net.0.type = veth
lxc.net.0.veth.pair = host-side-name
lxc.net.0.link = myBridge
brctl show myBridge
myBridge 8000.025134e8ffad no host-side-name
so that this happens
myBridge -> host-side-name === myContainer -> eth0
instead of
myBridge -> veth9OXS8PAW === myContainer -> eth0
I know that I can change the name after the fact using iproute2 but
automated is better.
Thanks,
Mike Wright