From b1abb2f523de63ce3a06bb11fc0e229a1db21690 Mon Sep 17 00:00:00 2001 From: Justin Cormack Date: Fri, 22 Jul 2016 14:27:20 +0100 Subject: [PATCH] add etc/hosts database key, as requested at Docker London Signed-off-by: Justin Cormack --- alpine/packages/hostsettings/etc/init.d/hostsettings | 2 ++ 1 file changed, 2 insertions(+) diff --git a/alpine/packages/hostsettings/etc/init.d/hostsettings b/alpine/packages/hostsettings/etc/init.d/hostsettings index 6f05e2f16..e6bd6d6dc 100755 --- a/alpine/packages/hostsettings/etc/init.d/hostsettings +++ b/alpine/packages/hostsettings/etc/init.d/hostsettings @@ -13,6 +13,8 @@ start() { mobyconfig exists etc/resolv.conf && mobyconfig get etc/resolv.conf > /etc/resolv.conf + mobyconfig exists etc/hosts && mobyconfig get etc/hosts >> /etc/hosts + # handle static network config if configured mobyconfig exists net/config && NETCONFIG=`mobyconfig get net/config` if [ "${NETCONFIG}" = "static" ]; then