~smoser/cloud-init/azure_dhcp

« back to all changes in this revision

Viewing changes to tools/hook-dhclient.tmpl

  • Committer: Brent Baude
  • Date: 2016-08-02 19:05:04 UTC
  • Revision ID: bbaude@redhat.com-20160802190504-30i8uihedcr27odn
Set python binary (2 vs 3) during install phase.  Also, removed
use of entry_point and hook scripts now use -m instead.

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
 
cloud-init-dhclient-hook
 
6
PYTHON_BINARY=%%PYTHON_BINARY%%
 
7
 
 
8
$PYTHON_BINARY -m cloudinit.cmd.dhclient_hook
7
9