On Thu, Mar 31, 2016 at 3:58 PM, Nicola Volpini
<[email protected]> wrote:
> Hey everyone,
>
> I'm seeing a strange behavior when using lxd profiles to attach the
> container eth devices to the host bridges.
> I see some inconsistency: I made two bridges on my host and want to use the
> profiles to associate the container eth0 to one bridge, and eth1 to the
> other. Somehow, the eth0 and eth1 end up being assigned to the wrong bridges
> (swapped).


> me@host:~$ lxc profile show dev_br23
> devices:
>   eth1:
>     nictype: bridged
>     parent: br23
>     type: nic

Can you add the key "name"? So it becomes like this
devices:
   eth1:
     name: eth1
     nictype: bridged
     parent: br23
     type: nic

lxd docs: https://github.com/lxc/lxd/blob/master/doc/configuration.md#type-nic

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

Reply via email to