mirror of
https://github.com/netbootxyz/docker-netbootxyz.git
synced 2025-08-07 14:47:24 +02:00
Merge pull request #11 from nicoulaj/tftpd-args
add support for passing additional options to tftpd
This commit is contained in:
commit
1fbbbddbf6
@ -47,10 +47,11 @@ RUN \
|
||||
npm config set unsafe-perm true && \
|
||||
npm install --prefix /app
|
||||
|
||||
ENV TFTPD_OPTS=''
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
COPY root/ /
|
||||
|
||||
# default command
|
||||
CMD ["sh","/start.sh"]
|
||||
|
||||
|
@ -22,7 +22,7 @@ directory=/app
|
||||
priority = 3
|
||||
|
||||
[program:in.tftpd]
|
||||
command=/usr/sbin/in.tftpd -Lvvv --user nbxyz --secure /config/menus
|
||||
command=/usr/sbin/in.tftpd -Lvvv --user nbxyz --secure %(ENV_TFTPD_OPTS)s /config/menus
|
||||
stdout_logfile=/config/tftpd.log
|
||||
redirect_stderr=true
|
||||
priority = 4
|
||||
|
Loading…
Reference in New Issue
Block a user