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

2013-07-09 Thread Dwight Engen
On Tue, 9 Jul 2013 14:56:20 -0400 Stéphane Graber wrote: > On Tue, Jul 09, 2013 at 02:44:30PM -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 e

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

2013-07-09 Thread Stéphane Graber
On Tue, Jul 09, 2013 at 02:44:30PM -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. > Looks good, just a few comments below. >

[lxc-devel] [PATCH 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