Coder Social home page Coder Social logo

Comments (9)

dteslya avatar dteslya commented on September 28, 2024 1

Thank you! Btw, symm-mh.clab.yml has the same issue. Removing cmd also helps there.

from clabs.

hellt avatar hellt commented on September 28, 2024 1

The pr has been merged #9

from clabs.

hellt avatar hellt commented on September 28, 2024

Hi,
I think @networkop who is the author of this can comment on that
I remember something like that was fixed for another lab

from clabs.

networkop avatar networkop commented on September 28, 2024

hey @dteslya can you check if the hosts have CLAB_ENV_INTFS env variable configured inside their shell?
Containerlab will automatically inject this env var and make it equal to the expected number of interfaces and hosts image should pick it up automatically.

I think cmd field may need to be removed completely to make it work? can you try that?

from clabs.

dteslya avatar dteslya commented on September 28, 2024

Yes, removing the cmd field also worked. And the CLAB_INTFS env variable is injected.

$ docker exec clab-citc-server01 bash -c 'echo "$CLAB_INTFS"'
2

from clabs.

networkop avatar networkop commented on September 28, 2024

ok, thanks. I'll do a PR to remove cmd shortly.

from clabs.

networkop avatar networkop commented on September 28, 2024

thanks. closing the issue.

from clabs.

networkop avatar networkop commented on September 28, 2024

🤣 forgot it's not my issue

from clabs.

dteslya avatar dteslya commented on September 28, 2024

thank you!

from clabs.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.