[lxc-devel] [lxc/lxc] cd85f3: Use LXC_ROOTFS_MOUNT in clonehostname hook
GitHub
noreply at github.com
Thu Feb 23 17:47:12 UTC 2017
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: cd85f31e267ad0c315b1b7e89f93c035d007fe1f
https://github.com/lxc/lxc/commit/cd85f31e267ad0c315b1b7e89f93c035d007fe1f
Author: Matt Keeler <mkeeler at users.noreply.github.com>
Date: 2017-02-23 (Thu, 23 Feb 2017)
Changed paths:
M hooks/clonehostname
Log Message:
-----------
Use LXC_ROOTFS_MOUNT in clonehostname hook
Previously this hook did not work when cloning containers using an overlayfs snapshot as the LXC_ROOTFS_PATH didn't point to the actual filesystem that the container would see. LXC_ROOTFS_MOUNT should be used instead and in fact lxc.container.conf man page says that you usually would want to use the _MOUNT variant.
Signed-off-by: Matt Keeler <mjkeeler7 at gmail.com>
Commit: 6a1fcb8fb1917057f6e507884bcf64aee3a5eaf7
https://github.com/lxc/lxc/commit/6a1fcb8fb1917057f6e507884bcf64aee3a5eaf7
Author: Stéphane Graber <stgraber at stgraber.org>
Date: 2017-02-23 (Thu, 23 Feb 2017)
Changed paths:
M hooks/clonehostname
Log Message:
-----------
Merge pull request #1442 from mkeeler/master
Fix issue with the clonehostname hook not working for overlayfs snapshot clones
Compare: https://github.com/lxc/lxc/compare/4fbf4a3172b5...6a1fcb8fb191
More information about the lxc-devel
mailing list