From: Lisio Date: Thu, 5 May 2016 04:35:36 +0000 (+0400) Subject: Force DHCP client to send hostname X-Git-Tag: lxc-1.0.9~59 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=905987c5f7a9b4915fcd2a2d75a1dde5c3d7d747;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 8ee69c607..2865e4df8 100644 --- a/templates/lxc-alpine.in +++ b/templates/lxc-alpine.in @@ -149,6 +149,7 @@ iface lo inet loopback auto eth0 iface eth0 inet dhcp +hostname $(hostname) EOF # set the hostname