diff --git a/lib/nodes/exec.cpp b/lib/nodes/exec.cpp index 0d33a76e7..faade1268 100644 --- a/lib/nodes/exec.cpp +++ b/lib/nodes/exec.cpp @@ -122,6 +122,10 @@ int ExecNode::prepare() { } int ExecNode::start() { + // Pass configuration file and node-name via environemnt + environment["VILLAS_NODE_CONFIG"] = configPath; + environment["VILLAS_NODE_NAME"] = name_short; + // Start subprocess proc = std::make_unique(command, arguments, environment, working_dir, shell);