hooks: dhclient hook improvements
- 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>
Showing
hooks/dhclient-start.in
deleted
100755 → 0
hooks/dhclient-stop.in
deleted
100755 → 0
hooks/dhclient.in
0 → 100755
Please
register
or
sign in
to comment