-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45956/
-----------------------------------------------------------
(Updated April 14, 2016, midnight)
Review request for mesos, Jie Yu and Qian Zhang.
Changes
-------
Adding back the code to set hostname in /etc/hosts.
Bugs: MESOS-4922
https://issues.apache.org/jira/browse/MESOS-4922
Repository: mesos
Description
-------
Once the `isolate` is successful, the `_isolate` method calls out the
`mesos-cni-helper` to setup the /etc/hosts, /etc/hostname and
/etc/resolv.conf for the container.
Diffs (updated)
-----
src/slave/containerizer/mesos/isolators/network/cni/cni.hpp
3f64bc2d5e114da63a76d93b6406e70891dd0242
src/slave/containerizer/mesos/isolators/network/cni/cni.cpp
ac01abc29f0e1a145516d8ec7d373c6cedb33b38
Diff: https://reviews.apache.org/r/45956/diff/
Testing
-------
make
*Ran mesos_execute with single master/slave setup to verify that containers get
the right hostname and network files when attached to a CNI network.
Thanks,
Avinash sridharan