Build heat.conf reproducibly

The hostname of the build machine leaks in heat.conf in the host
directive, making the whole heat package not reproducible. If you don't
know about reproducibility, please read here:
https://wiki.debian.org/ReproducibleBuilds/About

This patch therefore sets sample_default to avoid this problem.

Change-Id: Ibfe81f89df75417eab7437817aabd69bfb2985cd
Closes-Bug: #1736761
This commit is contained in:
Thomas Goirand 2017-12-06 18:10:29 +01:00
parent 10179a88ec
commit 5b98f450a1
1 changed files with 1 additions and 0 deletions

View File

@ -281,6 +281,7 @@ engine_opts = [
rpc_opts = [
cfg.StrOpt('host',
default=socket.gethostname(),
sample_default='<Hostname>',
help=_('Name of the engine node. '
'This can be an opaque identifier. '
'It is not necessarily a hostname, FQDN, '