From: Lisio Date: Thu, 5 May 2016 04:35:36 +0000 (+0400) Subject: Force DHCP client to send hostname X-Git-Tag: lxc-2.1.0~431^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1004%2Fhead;p=thirdparty%2Flxc.git Force DHCP client to send hostname Required for proper applying dnsmasq config entries. Signed-off-by: Andrey Kostin --- diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in index 18feda9f2..bc4eee4de 100644 --- a/templates/lxc-alpine.in +++ b/templates/lxc-alpine.in @@ -346,6 +346,7 @@ setup_network() { cat <<-EOF > etc/network/interfaces auto eth0 iface eth0 inet dhcp + hostname $(hostname) EOF }