Re: [lxc-devel] [PATCH v2 1/2] add clonehostname hook

2013-07-09 Thread Stéphane Graber
On Tue, Jul 09, 2013 at 04:19:45PM -0400, Dwight Engen wrote: > This hook script updates the hostname in various files under /etc in the > cloned container. In order to do so, the old container name is passed in > the LXC_SRC_NAME environment variable. > > Signed-off-by: Dwight Engen Looks good.

Re: [lxc-devel] [PATCH v2 1/2] add clonehostname hook

2013-07-09 Thread Dwight Engen
This hook script updates the hostname in various files under /etc in the cloned container. In order to do so, the old container name is passed in the LXC_SRC_NAME environment variable. Signed-off-by: Dwight Engen --- doc/lxc-clone.sgml.in | 3 ++- hooks/Makefile.am | 1 + hooks/clonehost