[lxc-users] Eth devices to host bridges association seems unpredictable
Fajar A. Nugraha
list at fajar.net
Thu Mar 31 09:10:58 UTC 2016
On Thu, Mar 31, 2016 at 3:58 PM, Nicola Volpini
<nicola.volpini at kambi.com> 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 at 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
More information about the lxc-users
mailing list