diff --git a/supervisor/options.py b/supervisor/options.py index 528f96cd2..2f0c98f1d 100644 --- a/supervisor/options.py +++ b/supervisor/options.py @@ -570,7 +570,9 @@ def read_config(self, fp): if need_close: fp.close() - expansions = {'here':self.here} + host_node_name = platform.node() + expansions = {'here':self.here, + 'host_node_name':host_node_name} expansions.update(self.environ_expansions) if parser.has_section('include'): parser.expand_here(self.here)