#!/bin/sh
set -e

if [ "$1" = "configure" ]; then
    # fix for LP: 1479610 and LP: 1579192
    sed -i 's|^send host-name = gethostname();|send host-name "<hostname>";|g' /etc/dhcp/dhclient.conf
fi

#DEBHELPER#
