From 7f1473c3150514bc0f996fd056ed5b6e8610ec79 Mon Sep 17 00:00:00 2001 From: Lisio Date: Thu, 5 May 2016 08:35:36 +0400 Subject: [PATCH] Force DHCP client to send hostname Required for proper applying dnsmasq config entries. Signed-off-by: Andrey Kostin --- templates/lxc-alpine.in | 1 + 1 file changed, 1 insertion(+) 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 } -- 2.47.2