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

Environment variables not configured in Linux namespaces #22

Open
liambrady opened this issue Jun 23, 2023 · 1 comment
Open

Environment variables not configured in Linux namespaces #22

liambrady opened this issue Jun 23, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@liambrady
Copy link
Contributor

Any environment variables configured through env in the munet schema do not seem to be actually configured within a Linux namespace node.

For example, configuring munet.yaml as follows:

topology:
  nodes:
    - name: temp
      cmd: echo $foo
      env:
        - name: foo
          value: bar

and entering the node temp through the command term temp, it can be observed that "bar" is missing from cmd.log. Similarly, echo $foo does not print "bar"

@liambrady liambrady added the bug Something isn't working label Jun 23, 2023
@choppsv1
Copy link
Collaborator

choppsv1 commented Aug 2, 2023

Indeed, and I'm having trouble finding in git history where this might have worked for anything but container nodes.

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

2 participants