mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 02:51:55 +00:00
hostsettings: correctly install multiline /etc/sysctl.conf files
echo will destroy newlines in arguments. Signed-off-by: David Sheets <dsheets@docker.com>
This commit is contained in:
parent
a49bb9a4b2
commit
d99812e7d3
@ -10,7 +10,7 @@ start() {
|
||||
ebegin "Configuring host settings from database"
|
||||
|
||||
mobyconfig exists etc/hostname && echo $(mobyconfig get etc/hostname) > /etc/hostname
|
||||
mobyconfig exists etc/sysctl.conf && echo $(mobyconfig get etc/sysctl.conf) > /etc/sysctl.conf
|
||||
mobyconfig exists etc/sysctl.conf && mobyconfig get etc/sysctl.conf > /etc/sysctl.conf
|
||||
|
||||
eend 0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user