~smoser/cloud-init/azure_dhcp

1
2
3
4
5
6
7
8
#!/bin/bash
# Writes DHCP lease information into the cloud-init data directory.
#

case "$1:$2" in
   *:up) exec cloud-init dhclient_hook
   *:down) ;;
esac