Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix instantiation of multiple vlan interfaces with same id #397

Merged
merged 1 commit into from Jan 21, 2015

Commits on Jan 13, 2015

  1. Fix instantiation of multiple vlan interfaces with same id

    Container fail to start with configs (as shown below) where the same
    vlan id is used for several type=vlan container interfaces.
    Then, during the instantiation of the vlan interfaces, an error occurs
    because the lxc code tries to assign the same temporary name to both
    of them before it is bound into the container.
    
    > lxc.network.type      = vlan
    > lxc.network.flags     = up
    > lxc.network.link      = eth1
    > lxc.network.vlan.id   = 3842
    > lxc.network.name      = iso0
    >
    > lxc.network.type      = vlan
    > lxc.network.flags     = up
    > lxc.network.link      = eth2
    > lxc.network.vlan.id   = 3842
    > lxc.network.name      = iso1
    
    Signed-off-by: Axel Neumann <neumann@cgws.de>
    Axel Neumann committed Jan 13, 2015
    Configuration menu
    Copy the full SHA
    82f58d0 View commit details
    Browse the repository at this point in the history