summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMehdi Abaakouk <sileht@sileht.net>2017-06-20 15:43:40 +0200
committerMehdi Abaakouk <sileht@sileht.net>2017-06-20 15:43:40 +0200
commitd43badb6c1a9cf776a0899cae964966f6ccd07de (patch)
tree42083723c570f2306f58ec4878bafbdfb64300a1
parent3c059cb701e55c7c550f2bbe9626c9c063b0d77e (diff)
Restore previous IP binding3.1.1
This commit 6fdf4e1086c53adf47561697cf82417e1f3b14ed have changed the default binded ip, it binds one random interface on the system instead of all. Break breaks all gate that expect the default to at least listen on localhost. This change restore the previous default. Change-Id: I6323e66ea98d15c52b07c8e737fdd6f30aef0238
Notes
Notes (review): Code-Review+2: Julien Danjou <julien@danjou.info> Code-Review+2: Doug Hellmann <doug@doughellmann.com> Workflow+1: Doug Hellmann <doug@doughellmann.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 20 Jun 2017 16:19:43 +0000 Reviewed-on: https://review.openstack.org/475790 Project: openstack-dev/pbr Branch: refs/heads/master
-rw-r--r--pbr/packaging.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbr/packaging.py b/pbr/packaging.py
index 913e7a3..c8eedbd 100644
--- a/pbr/packaging.py
+++ b/pbr/packaging.py
@@ -293,7 +293,7 @@ if __name__ == "__main__":
293 usage='%%(prog)s [-h] [--port PORT] [--host IP] -- [passed options]') 293 usage='%%(prog)s [-h] [--port PORT] [--host IP] -- [passed options]')
294 parser.add_argument('--port', '-p', type=int, default=8000, 294 parser.add_argument('--port', '-p', type=int, default=8000,
295 help='TCP port to listen on') 295 help='TCP port to listen on')
296 parser.add_argument('--host', '-b', default=my_ip, 296 parser.add_argument('--host', '-b', default='',
297 help='IP to bind the server to') 297 help='IP to bind the server to')
298 parser.add_argument('args', 298 parser.add_argument('args',
299 nargs=argparse.REMAINDER, 299 nargs=argparse.REMAINDER,