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

Warning about CNI configuration file #5

Open
c3d opened this issue Jul 27, 2023 · 1 comment
Open

Warning about CNI configuration file #5

c3d opened this issue Jul 27, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@c3d
Copy link
Owner

c3d commented Jul 27, 2023

Running the following command:

# podman --runtime $PWD/run-kata run -it  fedora bash

I get a warning from podman that looks like this:

WARN[0000] Error loading CNI config file /etc/cni/net.d/200-loopback.conflist: error parsing configuration list: no name
@c3d c3d added the bug Something isn't working label Jul 27, 2023
@c3d c3d self-assigned this Jul 27, 2023
@c3d
Copy link
Owner Author

c3d commented Jul 27, 2023

The default content for /etc/cni/net.d/200-loopback.conflist is the following:

{
    "cniVersion": "1.0.0",
    "type": "loopback"
}

Changed it to:

{
    "name": "loopback",
    "nameAddedBy": "DDD",
    "cniVersion": "1.0.0",
    "type": "loopback",
    "plugins": [
        {
            "type": "loopback"
        }
    ]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant