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:
Lai Jiangshan
2016-07-06 11:47:33 +08:00
parent 00308d00b5
commit bb550c2444
+1 -2
View File
@@ -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);