mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 18:11:35 +00:00
somehow networking is resetting hostname, get mdnstool to fix for now
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
be2612bfd8
commit
c9ba063c7d
@ -16,6 +16,7 @@ start()
|
|||||||
|
|
||||||
[ -n "${PIDFILE}" ] || PIDFILE=/var/run/mdnstool.pid
|
[ -n "${PIDFILE}" ] || PIDFILE=/var/run/mdnstool.pid
|
||||||
|
|
||||||
|
hostname -F /etc/hostname
|
||||||
export HOSTNAME=$(hostname -s).local.
|
export HOSTNAME=$(hostname -s).local.
|
||||||
|
|
||||||
start-stop-daemon --start --quiet \
|
start-stop-daemon --start --quiet \
|
||||||
|
Loading…
Reference in New Issue
Block a user