fickit-deploy: Dynamically update config at start and set expected IP on interface
This commit is contained in:
parent
49aa1682d7
commit
41ff4b9f50
2 changed files with 19 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ EXPOSE 67/udp
|
|||
EXPOSE 69/udp
|
||||
EXPOSE 80/tcp
|
||||
|
||||
ENTRYPOINT ["/usr/sbin/initial-config.sh"]
|
||||
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"]
|
||||
|
||||
WORKDIR /srv
|
||||
|
|
@ -16,6 +17,7 @@ RUN apk add --no-cache \
|
|||
|
||||
RUN touch /var/lib/udhcpd/udhcpd.leases
|
||||
|
||||
COPY configs/deploy-initial-config.sh /usr/sbin/initial-config.sh
|
||||
COPY configs/deploy-supervisord.conf /etc/supervisord.conf
|
||||
COPY configs/udhcpd-sample.conf /etc/udhcpd.conf
|
||||
COPY configs/pxelinux.cfg /usr/share/syslinux/pxelinux.cfg/default
|
||||
Reference in a new issue