Merge pull request #343 from justincormack/etchosts

add etc/hosts database key, as requested at Docker London
This commit is contained in:
Justin Cormack 2016-07-22 14:41:15 +01:00 committed by GitHub
commit a3dfb93479

View File

@ -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