mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-16 15:32:36 +00:00
These never got an interface on any platform, and I don't think they ever will, we can increase global limits or you can set something with a privileged container. Can add back later if required. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
23 lines
596 B
Plaintext
Executable File
23 lines
596 B
Plaintext
Executable File
#!/sbin/openrc-run
|
|
|
|
description="Configuring settings from database."
|
|
|
|
depend() {
|
|
# AWS gets settings via network
|
|
need net
|
|
before docker
|
|
}
|
|
|
|
start() {
|
|
ebegin "Configuring host settings from database"
|
|
|
|
mobyconfig exists random-seed && mobyconfig get random-seed > /dev/urandom
|
|
|
|
mobyconfig exists etc/resolv.conf && mobyconfig get etc/resolv.conf > /etc/resolv.conf
|
|
mobyconfig exists etc/hosts && mobyconfig get etc/hosts >> /etc/hosts
|
|
|
|
mobyconfig exists etc/ssl/certs/ca-certificates.crt && mobyconfig get etc/ssl/certs/ca-certificates.crt >> /etc/ssl/certs/ca-certificates.crt
|
|
|
|
eend 0
|
|
}
|