~smoser/cloud-init/azure_dhcp

« back to all changes in this revision

Viewing changes to tools/hook-dhclient

  • Committer: Brent Baude
  • Date: 2016-08-04 12:48:46 UTC
  • Revision ID: bbaude@redhat.com-20160804124846-tt1gybhdqpy8zkim
Rather than having the python executable for obtaining and storing the
dhclient information as its own executable, it is integrated into
cloud-init as a sub-command 'dhclient_hook'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
# This file is sourced by dhclient so do not prepend 'exec' to the
4
4
# following.
5
5
 
6
 
PYTHON_BINARY=%%PYTHON_BINARY%%
7
 
 
8
 
$PYTHON_BINARY -m cloudinit.cmd.dhclient_hook
 
6
cloud-init dhclient_hook
9
7