From d43badb6c1a9cf776a0899cae964966f6ccd07de Mon Sep 17 00:00:00 2001 From: Mehdi Abaakouk Date: Tue, 20 Jun 2017 15:43:40 +0200 Subject: Restore previous IP binding 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 --- pbr/packaging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__": usage='%%(prog)s [-h] [--port PORT] [--host IP] -- [passed options]') parser.add_argument('--port', '-p', type=int, default=8000, help='TCP port to listen on') - parser.add_argument('--host', '-b', default=my_ip, + parser.add_argument('--host', '-b', default='', help='IP to bind the server to') parser.add_argument('args', nargs=argparse.REMAINDER, -- cgit v1.2.1