fickit: Fix tftpd usage
This commit is contained in:
parent
a7432b070d
commit
e65c54ea37
@ -15,7 +15,8 @@ RUN apk add --no-cache \
|
|||||||
syslinux \
|
syslinux \
|
||||||
tftp-hpa
|
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-initial-config.sh /usr/sbin/initial-config.sh
|
||||||
COPY configs/deploy-supervisord.conf /etc/supervisord.conf
|
COPY configs/deploy-supervisord.conf /etc/supervisord.conf
|
||||||
|
@ -10,7 +10,7 @@ stderr_logfile = /dev/stderr
|
|||||||
stderr_logfile_maxbytes = 0
|
stderr_logfile_maxbytes = 0
|
||||||
|
|
||||||
[program:tftpd]
|
[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 = /dev/stdout
|
||||||
stdout_logfile_maxbytes = 0
|
stdout_logfile_maxbytes = 0
|
||||||
stderr_logfile = /dev/stderr
|
stderr_logfile = /dev/stderr
|
||||||
|
@ -11,23 +11,23 @@ MENU TITLE FICKIT PXE BOOT
|
|||||||
|
|
||||||
LABEL backend
|
LABEL backend
|
||||||
MENU LABEL Prepare for ^backend
|
MENU LABEL Prepare for ^backend
|
||||||
LINUX /fickit-boot-kernel
|
LINUX /s/fickit-boot-kernel
|
||||||
INITRD /fickit-prepare-initrd.img
|
INITRD /s/fickit-prepare-initrd.img
|
||||||
APPEND console=tty0 fickit.autoprepare=backend
|
APPEND console=tty0 fickit.autoprepare=backend
|
||||||
LABEL frontend
|
LABEL frontend
|
||||||
MENU LABEL Prepare for ^frontend
|
MENU LABEL Prepare for ^frontend
|
||||||
LINUX /fickit-boot-kernel
|
LINUX /s/fickit-boot-kernel
|
||||||
INITRD /fickit-boot-initrd.img
|
INITRD /s/fickit-boot-initrd.img
|
||||||
APPEND console=tty0 fickit.autoprepare=frontend
|
APPEND console=tty0 fickit.autoprepare=frontend
|
||||||
LABEL prepare
|
LABEL prepare
|
||||||
MENU LABEL Prepare with ^shell
|
MENU LABEL Prepare with ^shell
|
||||||
LINUX /fickit-boot-kernel
|
LINUX /s/fickit-boot-kernel
|
||||||
INITRD /fickit-boot-initrd.img
|
INITRD /s/fickit-boot-initrd.img
|
||||||
APPEND console=tty0
|
APPEND console=tty0
|
||||||
LABEL update
|
LABEL update
|
||||||
MENU LABEL ^Update images
|
MENU LABEL ^Update images
|
||||||
LINUX /fickit-boot-kernel
|
LINUX /s/fickit-boot-kernel
|
||||||
INITRD /fickit-update-initrd.img
|
INITRD /s/fickit-update-initrd.img
|
||||||
APPEND console=ttyS0 console=tty0
|
APPEND console=ttyS0 console=tty0
|
||||||
MENU SEPARATOR
|
MENU SEPARATOR
|
||||||
LABEL poweroff
|
LABEL poweroff
|
||||||
|
Loading…
x
Reference in New Issue
Block a user