TheNewNormal / corectl

CoreOS over macOS made very simple
Apache License 2.0
285 stars 21 forks source link

add corectl-metadata.service #99

Closed crawford closed 7 years ago

crawford commented 7 years ago

Just like coreos-metadata, this service populates a file (/run/metadata/corectl) with information about the system (just the IP address in this case). This file is intended to be sourced into systemd services via the EnvironmentFile directive, allowing services to use dynamic configuration. Since this service is not started by default, dependent services will need to use Require and After to ensure that they run only once corectl-metadata.service has completed.

Signed-off-by: Alex Crawford alex.crawford@coreos.com

rimusz commented 7 years ago

@crawford thanks for your PRs, @AntonioMeireles will review them soon.