fickit: Fix tftpd usage

This commit is contained in:
nemunaire 2023-10-23 14:53:56 +02:00
parent a7432b070d
commit e65c54ea37
3 changed files with 11 additions and 10 deletions

View File

@ -15,7 +15,8 @@ RUN apk add --no-cache \
syslinux \
tftp-hpa
RUN touch /var/lib/udhcpd/udhcpd.leases
RUN touch /var/lib/udhcpd/udhcpd.leases && \
ln -s /srv /usr/share/syslinux/s
COPY configs/deploy-initial-config.sh /usr/sbin/initial-config.sh
COPY configs/deploy-supervisord.conf /etc/supervisord.conf

View File

@ -10,7 +10,7 @@ stderr_logfile = /dev/stderr
stderr_logfile_maxbytes = 0
[program:tftpd]
command = /usr/sbin/in.tftpd -R 4096:32767 -v -s /usr/share/syslinux/
command = /usr/sbin/in.tftpd -a 0.0.0.0:69 -v -s /usr/share/syslinux/
stdout_logfile = /dev/stdout
stdout_logfile_maxbytes = 0
stderr_logfile = /dev/stderr

View File

@ -11,23 +11,23 @@ MENU TITLE FICKIT PXE BOOT
LABEL backend
MENU LABEL Prepare for ^backend
LINUX /fickit-boot-kernel
INITRD /fickit-prepare-initrd.img
LINUX /s/fickit-boot-kernel
INITRD /s/fickit-prepare-initrd.img
APPEND console=tty0 fickit.autoprepare=backend
LABEL frontend
MENU LABEL Prepare for ^frontend
LINUX /fickit-boot-kernel
INITRD /fickit-boot-initrd.img
LINUX /s/fickit-boot-kernel
INITRD /s/fickit-boot-initrd.img
APPEND console=tty0 fickit.autoprepare=frontend
LABEL prepare
MENU LABEL Prepare with ^shell
LINUX /fickit-boot-kernel
INITRD /fickit-boot-initrd.img
LINUX /s/fickit-boot-kernel
INITRD /s/fickit-boot-initrd.img
APPEND console=tty0
LABEL update
MENU LABEL ^Update images
LINUX /fickit-boot-kernel
INITRD /fickit-update-initrd.img
LINUX /s/fickit-boot-kernel
INITRD /s/fickit-update-initrd.img
APPEND console=ttyS0 console=tty0
MENU SEPARATOR
LABEL poweroff