Commit 91f9daea authored by Rohan's avatar Rohan

Update entrypoint.sh

parent 1ef48a73
...@@ -46,6 +46,7 @@ NRF_IPV4_ADDRESS=${NRF_IPV4_ADDRESS:-0.0.0.0} ...@@ -46,6 +46,7 @@ NRF_IPV4_ADDRESS=${NRF_IPV4_ADDRESS:-0.0.0.0}
NRF_PORT=${NRF_PORT:-80} NRF_PORT=${NRF_PORT:-80}
NRF_API_VERSION=${NRF_API_VERSION:-v1} NRF_API_VERSION=${NRF_API_VERSION:-v1}
NRF_FQDN=${NRF_FQDN:-oai-nrf} NRF_FQDN=${NRF_FQDN:-oai-nrf}
USE_FQDN_DNS=${USE_FQDN_DNS:-no}
if [[ ${USE_FQDN_DNS} == "yes" ]];then if [[ ${USE_FQDN_DNS} == "yes" ]];then
NRF_IPV4_ADDRESS=(`getent hosts $NRF_FQDN | awk '{print $1}'`) NRF_IPV4_ADDRESS=(`getent hosts $NRF_FQDN | awk '{print $1}'`)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment