Make octavia reproducible

This is a forward of the patch attached to the Debian bug here:
https://bugs.debian.org/908222

Whilst working on the Reproducible Builds effort [0], we noticed
that octavia could not be built reproducibly.

This is because it embeds the hostname in the config file (which
also gets picked up in the documentation and the documentation
index files.)

 [0] https://reproducible-builds.org/

Change-Id: Ic290d733b2cd927f05a2becef3b3d9984d1b7a73
This commit is contained in:
Thomas Goirand 2020-01-03 11:47:46 +01:00
parent 8f032d884e
commit b96107e27a
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ TLS_PROTOCOL_CHOICES = [
core_opts = [
cfg.HostnameOpt('host', default=utils.get_hostname(),
sample_default='<server-hostname.example.com>',
help=_("The hostname Octavia is running on")),
cfg.StrOpt('octavia_plugins', default='hot_plug_plugin',
help=_("Name of the controller plugin to use")),