add clonehostname hook
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 <dwight.engen@oracle.com>
Acked-by:
Stéphane Graber <stgraber@ubuntu.com>
Signed-off-by:
Serge Hallyn <serge.hallyn@ubuntu.com>
Showing
hooks/clonehostname
0 → 100755
Please
register
or
sign in
to comment