fickit: Fix tftpd usage
This commit is contained in:
parent
a7432b070d
commit
e65c54ea37
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user