mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-22 02:21:34 +00:00
add etc/hosts database key, as requested at Docker London
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
ca5dbde634
commit
b1abb2f523
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user