Make designate.conf reproducible

The hostname of the build machine leaks in the designate.conf.
Therefore, this patch sets sample_default='<Hostname>' to make
the build reproducible.

If you don't know about reproducible build, please read here:
https://wiki.debian.org/ReproducibleBuilds/About

Change-Id: I972aed4cf47510eb669d1db61c8f569136f861b6
Closes-Bug: #1736801
This commit is contained in:
Thomas Goirand 2017-12-06 21:55:31 +01:00 committed by Graham Hayes
parent b343927604
commit 2fff7cda03
No known key found for this signature in database
GPG Key ID: 1B263DC59F4AEFD5
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ import oslo_messaging as messaging
designate_opts = [
cfg.StrOpt('host', default=socket.gethostname(),
sample_default='current_hostname',
help='Name of this node'),
cfg.StrOpt(
'pybasedir',