Commit 91c5c53f 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 b78b2e23
......@@ -253,6 +253,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