mirror of
https://github.com/clearlinux/hyperstart.git
synced 2026-08-26 18:17:25 +00:00
do not apply the container's env on exec
let the hyperd do it. (merge the envs) Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com>
This commit is contained in:
+1
-2
@@ -518,9 +518,8 @@ static int hyper_enter_container(struct hyper_pod *pod,
|
||||
|
||||
/* TODO: wait for container finishing setup root */
|
||||
chdir("/");
|
||||
ret = 0;
|
||||
|
||||
// TODO: let the hyperd do it (merging the env) when needed.
|
||||
ret = hyper_setup_env(c->exec.envs, c->exec.envs_num);
|
||||
out:
|
||||
close(ipcns);
|
||||
close(utsns);
|
||||
|
||||
Reference in New Issue
Block a user