From 2fff7cda03778c410f0491361b4d243ae7f877eb Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Wed, 6 Dec 2017 21:55:31 +0100 Subject: [PATCH] Make designate.conf reproducible The hostname of the build machine leaks in the designate.conf. Therefore, this patch sets sample_default='' 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 --- designate/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/designate/__init__.py b/designate/__init__.py index befb2d049..f98560f24 100644 --- a/designate/__init__.py +++ b/designate/__init__.py @@ -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',