mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-05 04:58:45 +00:00
remove ability to set hostname as no longer needed. Hard code llmnrd name as 'docker'
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
@@ -3,13 +3,12 @@
|
||||
description="Configuring settings from database."
|
||||
|
||||
depend() {
|
||||
before hostname sysctl
|
||||
before sysctl
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Configuring host settings from database"
|
||||
|
||||
mobyconfig exists etc/hostname && echo $(mobyconfig get etc/hostname) > /etc/hostname
|
||||
mobyconfig exists etc/sysctl.conf && mobyconfig get etc/sysctl.conf > /etc/sysctl.conf
|
||||
|
||||
eend 0
|
||||
|
||||
Reference in New Issue
Block a user