<p>daniel has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/docker-playground/+/14527">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">regen_doc.sh: Add optional parameter to customize docker execution<br><br>The osmo-nitb-master image can run not only osmo-nitb, but also<br>osmo-bsc_nat. In that case we can't use the default command from<br>Dockerfile, but should provide our own. This argument makes it possible<br>to do so.<br><br>Change-Id: I52c3cb2cdcfb143e71ac2c1aa40bb466e41a0f5c<br>Related: OS#1700<br>---<br>M scripts/regen_doc.sh<br>1 file changed, 3 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/27/14527/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/scripts/regen_doc.sh b/scripts/regen_doc.sh</span><br><span>index 7c7529f..5327ae8 100755</span><br><span>--- a/scripts/regen_doc.sh</span><br><span>+++ b/scripts/regen_doc.sh</span><br><span>@@ -6,6 +6,7 @@</span><br><span> PORT="$2"</span><br><span> COUNTERFILE="$3"</span><br><span> VTYFILE="$4"</span><br><span style="color: hsl(120, 100%, 40%);">+DOCKER_EXTRA="$5"</span><br><span> </span><br><span> IMAGE_SUFFIX="${IMAGE_SUFFIX:-master}"</span><br><span> if [ -z "$OSMO_INTERACT_VTY" ]; then</span><br><span>@@ -23,7 +24,8 @@</span><br><span> </span><br><span>      docker run --rm --network ${NET_NAME} --ip ${IP_ADDR} \</span><br><span>              --name ${BUILD_TAG}-${CONTAINERNAME} -d \</span><br><span style="color: hsl(0, 100%, 40%);">-               ${REPO_USER}/${CONTAINERNAME}</span><br><span style="color: hsl(120, 100%, 40%);">+         ${REPO_USER}/${CONTAINERNAME} \</span><br><span style="color: hsl(120, 100%, 40%);">+               ${DOCKER_EXTRA}</span><br><span> </span><br><span> </span><br><span> }</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/docker-playground/+/14527">change 14527</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/docker-playground/+/14527"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: docker-playground </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I52c3cb2cdcfb143e71ac2c1aa40bb466e41a0f5c </div>
<div style="display:none"> Gerrit-Change-Number: 14527 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: daniel <dwillmann@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>