On Tue, Aug 21, 2018 at 8:40 AM, Mike Wright <[email protected]>
wrote:

> 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
>
>

Are you asking the equivalent of lxc.net.0.veth.pair in lxd?

Try:
devices:
  eth0:
    host_name: host-side-name
    name: eth0
    nictype: bridged
    parent: myBridge
    type: nic

-- 
Fajar
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to