Commit 8855978e authored by Tommy Lau's avatar Tommy Lau

Use full path to sample.config

parent 629f02f7
...@@ -43,7 +43,7 @@ RUN set -x \ ...@@ -43,7 +43,7 @@ RUN set -x \
COPY route.txt /tmp/ COPY route.txt /tmp/
RUN set -x \ RUN set -x \
&& mkdir -p /etc/ocserv \ && mkdir -p /etc/ocserv \
&& cp doc/sample.config /etc/ocserv/ocserv.conf \ && cp /usr/src/ocserv/doc/sample.config /etc/ocserv/ocserv.conf \
&& sed -i 's/\.\/sample\.passwd/\/etc\/ocserv\/ocpasswd/' /etc/ocserv/ocserv.conf \ && sed -i 's/\.\/sample\.passwd/\/etc\/ocserv\/ocpasswd/' /etc/ocserv/ocserv.conf \
&& sed -i 's/\.\.\/test/\/etc\/ocserv/' /etc/ocserv/ocserv.conf \ && sed -i 's/\.\.\/test/\/etc\/ocserv/' /etc/ocserv/ocserv.conf \
&& sed -i '/^ipv4-network = /{s/192.168.1.0/192.168.0.0/}' /etc/ocserv/ocserv.conf \ && sed -i '/^ipv4-network = /{s/192.168.1.0/192.168.0.0/}' /etc/ocserv/ocserv.conf \
......
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