File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ mkdir -p \
1414[[ ! -f /config/nginx/nginx.conf ]] &&
1515 cp /defaults/nginx.conf /config/nginx/nginx.conf
1616[[ ! -f /config/nginx/site-confs/default ]] &&
17- envsubst ' ${NGINX_PORT}' < /defaults/default > /config/nginx/site-confs/default
17+ envsubst ' ${NGINX_PORT}' < /defaults/default > /config/nginx/site-confs/default
1818
1919# create dnsmasq config, and conditionally add DHCP proxy support
2020if [[ ! -f /config/dnsmasq/dnsmasq.conf ]]; then
@@ -28,7 +28,7 @@ if [[ ! -f /config/dnsmasq/dnsmasq.conf ]]; then
2828 CONTAINER_IP=$( hostname -i)
2929 export CONTAINER_IP
3030 fi
31- envsubst < /defaults/dnsmasq-dhcpproxy.conf >> /config/dnsmasq/dnsmasq.conf
31+ envsubst ' ${DHCP_RANGE_START} ${CONTAINER_IP} ' < /defaults/dnsmasq-dhcpproxy.conf >> /config/dnsmasq/dnsmasq.conf
3232 fi
3333fi
3434
You can’t perform that action at this time.
0 commit comments