~smoser/cloud-init/azure_dhcp

« back to all changes in this revision

Viewing changes to cloudinit/dhclient_hook.py

  • 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:
45
45
                      sort_keys=True, separators=(',', ': '))
46
46
            self.LOG.debug("Wrote dhclient options in %s", ifc_file_name)
47
47
 
48
 
 
49
 
def main():
50
 
    record = LogDhclient()
51
 
    record.check_hooks_dir()
52
 
    record.record()
53
 
 
54
 
if __name__ == '__main__':
55
 
    main()