Commit 58777d6d by Kalman Olah Committed by Stéphane Graber

Include hostname in DHCP requests

With the current old CentOS template, dnsmasq was not able to resolve the hostname of an lxc container after it had been created. This minor change rectifies that. Signed-off-by: 's avatarKalman Olah <hello@kalmanolah.net> Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent 1dc94290
......@@ -247,6 +247,7 @@ HOSTNAME=${UTSNAME}
NM_CONTROLLED=no
TYPE=Ethernet
MTU=${MTU}
DHCP_HOSTNAME=$name
EOF
# set the hostname
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment