mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-24 16:54:30 +00:00

- Merge dhclient-start and dhclient-stop into a single hook. - Wait for a lease before returning from the hook. - Generate a logfile when LXC log level is either DEBUG or TRACE. - Rely on namespace file descriptors for the stop hook. - Use settings from /<sysconf>/lxc/dhclient.conf if available. - Attempt to cleanup if dhclient fails to shutdown properly. Signed-off-by: Jonathan Calmels <jcalmels@nvidia.com>
25 lines
422 B
Makefile
25 lines
422 B
Makefile
hooksdir=@LXCHOOKDIR@
|
|
binhooksdir=@LXCBINHOOKDIR@
|
|
|
|
hooks_SCRIPTS = \
|
|
clonehostname \
|
|
mountecryptfsroot \
|
|
ubuntu-cloud-prep \
|
|
dhclient-script \
|
|
dhclient \
|
|
squid-deb-proxy-client \
|
|
nvidia
|
|
|
|
binhooks_PROGRAMS = \
|
|
unmount-namespace
|
|
|
|
unmount_namespace_SOURCES = \
|
|
unmount-namespace.c
|
|
|
|
if IS_BIONIC
|
|
unmount_namespace_SOURCES += \
|
|
../src/include/lxcmntent.c ../src/include/lxcmntent.h
|
|
endif
|
|
|
|
EXTRA_DIST=$(hooks_SCRIPTS)
|