Port bindings: Set by default
Due to a bug with yadp, we need to set port bindings to fix the issue.
This set it as default instead of setting it in each template name.
Signed-off-by: Benjamin Copeland <ben.copeland@linaro.org>
Change-Id: I0435335d6ab6fef0d99ffc32105cc13c9c4b505e
diff --git a/templates/configure-yadocker-cloud.groovy.j2 b/templates/configure-yadocker-cloud.groovy.j2
index cb9fe70..2124768 100644
--- a/templates/configure-yadocker-cloud.groovy.j2
+++ b/templates/configure-yadocker-cloud.groovy.j2
@@ -75,7 +75,7 @@
//volumes_from: '{{docker.volumes_from}}',
//environment can be a string or list of strings
environment: '{{docker.environment}}',
- port_bindings: '{{docker.port_bindings}}',
+ port_bindings: '{{docker.port_bindings|default('0.0.0.0::22')}}',
bind_all_declared_ports: '{{docker.bind_all_declared_ports}}',
//0 is unlimited
memory_limit_in_mb: '{{docker.memory_limit_in_mb}}',