aboutsummaryrefslogtreecommitdiff
path: root/kolla/common
diff options
context:
space:
mode:
authorMichał Nasiadka <mnasiadka@gmail.com>2021-06-07 13:56:48 +0200
committerRadosław Piliszek <radoslaw.piliszek@gmail.com>2021-06-10 11:06:33 +0000
commitd7252ba5829f005915ce8e7efc9ec252c06d8bc0 (patch)
treeacaa47a6eb5d8f87af60b7755565280a3cdd01e5 /kolla/common
parenta6884085e1a5336f17c2ed64f67d8f885c454207 (diff)
downloadkolla-d7252ba5829f005915ce8e7efc9ec252c06d8bc0.tar.gz
kolla-d7252ba5829f005915ce8e7efc9ec252c06d8bc0.zip
Change network_mode default to host
Kolla-Ansible deploys Docker without bridge by default [1]. [1]: https://review.opendev.org/c/openstack/kolla-ansible/+/751795 Change-Id: I7430b72f5d8abe59a7151df73e6d59898d942636
Diffstat (limited to 'kolla/common')
-rwxr-xr-xkolla/common/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kolla/common/config.py b/kolla/common/config.py
index 64affd5f4..07136d896 100755
--- a/kolla/common/config.py
+++ b/kolla/common/config.py
@@ -174,7 +174,7 @@ _CLI_OPTS = [
help='Show all available images (filtering supported)'),
cfg.StrOpt('namespace', short='n', default='kolla',
help='The Docker namespace name'),
- cfg.StrOpt('network_mode', default=None,
+ cfg.StrOpt('network_mode', default='host',
help='The network mode for Docker build. Example: host'),
cfg.BoolOpt('cache', default=True,
help='Use the Docker cache when building'),