-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45954/
-----------------------------------------------------------
(Updated April 9, 2016, 5:46 p.m.)
Review request for mesos, Jie Yu and Qian Zhang.
Changes
-------
Using fs::mount instead of `mount` executable to mount the network files.
Bugs: MESOS-4922
https://issues.apache.org/jira/browse/MESOS-4922
Repository: mesos
Description
-------
The `subcommand` allow configuring the container hostname and setting
up network files in the container such as /etc/hosts, /etc/hostname,
/etc/resolv.conf. This will allow for correct name to IP resolution
within the container network namespace.
Diffs (updated)
-----
src/slave/containerizer/mesos/isolators/network/cni/cni.hpp
654137c552a7c416f394365e43ea80770fe1ef8d
src/slave/containerizer/mesos/isolators/network/cni/cni.cpp
159152a01b68a667dbd57fa6452c6c2a3422787c
Diff: https://reviews.apache.org/r/45954/diff/
Testing
-------
make
* Ran mesos_execute along with a single master/slave setup to verify that the
container joins the CNI network and the hostname and /etc/hosts,
/etc/resolv.conf are setup correctly.
Thanks,
Avinash sridharan