dhcp: support dhcp-hostsfile

Allow IP address reservation per MAC address via dhcp-hostsfile.
After creating or changing the file send SIGHUP to the dnsmasq
process to re-read it.

The file contains information about one host per line. The format of a line is the same as text to the right of '=' in --dhcp-host.

Ref: https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html

BUG=b/321300259
TEST=manual

Change-Id: Ia81dae9fb7f286d7c82f56b815dfac8d117abab0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/moblab/+/5421108
Reviewed-by: Michal Matyjek <mmatyjek@google.com>
Commit-Queue: Tomasz Jakubowski <jakubowskit@google.com>
Tested-by: Tomasz Jakubowski <jakubowskit@google.com>
diff --git a/src/dockerfiles/dhcp/dnsmasq-dev.conf b/src/dockerfiles/dhcp/dnsmasq-dev.conf
index a715ec2..9c182d0 100644
--- a/src/dockerfiles/dhcp/dnsmasq-dev.conf
+++ b/src/dockerfiles/dhcp/dnsmasq-dev.conf
@@ -8,3 +8,4 @@
 
 dhcp-range=192.168.231.10,192.168.231.250,1h
 dhcp-broadcast
+dhcp-hostsfile=/var/lib/misc/dhcp.hosts
diff --git a/src/dockerfiles/dhcp/dnsmasq.conf b/src/dockerfiles/dhcp/dnsmasq.conf
index b025102..b25db5e 100644
--- a/src/dockerfiles/dhcp/dnsmasq.conf
+++ b/src/dockerfiles/dhcp/dnsmasq.conf
@@ -8,3 +8,4 @@
 
 dhcp-range=192.168.231.10,192.168.231.250,12h
 dhcp-broadcast
+dhcp-hostsfile=/var/lib/misc/dhcp.hosts