Skip to content

Reverse Network Interface Assignment #32

@ramukima

Description

@ramukima

Following the example at https://hub.docker.com/r/bbvainnotech/kvm/ when I connect my container to more than one networks, the network assignment inside the container is random. What I expect as eth0 becomes eth1 and vice-versa.

QEMU literally takes the first interface as one that is passed first on the command line, the networking of my VM is revered from what I expect.

What would be an idea way to fix this ? Is just "sorting" based on interface number sufficient ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions